Problem jest następujący oraz pytanie czy da się to naprawić??
new const gGunsEvents[][] = { "events/awp.sc", "events/g3sg1.sc", "events/ak47.sc", "events/scout.sc", "events/m249.sc", "events/m4a1.sc", "events/sg552.sc", "events/aug.sc", "events/sg550.sc", "events/m3.sc", "events/xm1014.sc", "events/usp.sc", "events/mac10.sc", "events/ump45.sc", "events/fiveseven.sc", "events/p90.sc", "events/deagle.sc", "events/p228.sc", "events/glock18.sc", "events/mp5n.sc", "events/tmp.sc", "events/elite_left.sc", "events/elite_right.sc", "events/galil.sc", "events/famas.sc" }; new gGunsEventsId[sizeof gGunsEvents]; public plugin_precache() { for(new x = 0 ; x < sizeof gGunsEvents ; x++) gGunsEventsId[x] = engfunc(EngFunc_PrecacheEvent, 1, gGunsEvents[x]); } public Fwd_PlaybackEvent(flags, id, eventindex) { if(!gSettings[CHECK_RAPIDFIRE]) return FMRES_IGNORED; for(new i = 0 ; i < sizeof gGunsEvents ; i++) { if(eventindex == gGunsEventsId[i]) { static Weapon, Trash; Weapon = get_user_weapon(id, Trash, Trash); static Float:fAimAngles[3]; pev(id, pev_v_angle, fAimAngles); if(Weapon == CSW_GLOCK18) return FMRES_IGNORED; if(gSettings[CHECK_RAPIDFIRE]) Detections[id][RAPIDFIRE]++; if(gSettings[CHECK_LOWRECOIL]) { if((fAimAngles[0] == fRecoilLastAngles[id][0]) && fRecoilLastAngles[id][0] != 0.0) Detections[id][RECOIL]++; else Detections[id][RECOIL]--; fRecoilLastAngles[id][0] = fAimAngles[0]; if(Detections[id][RECOIL] > 5) { set_hudmessage(255, 0, 0, -1.0, -1.0, 0, 6.0, 5.0, 1.0, 1.0, 3); show_hudmessage(id,"%L",LANG_PLAYER,"LOW_RECOIL"); } if(Detections[id][RECOIL] > 7) PunishUser(id, "*NoRecoil*"); } } } return FMRES_IGNORED; }
Podmienia dźwięki powiedzmy do glocka daje dźwięk mp5. Famas strzela nożami albo smoke...
Da radę to jakoś naprawić? Bo potrzebuję, a szkoda wywalać..
Użytkownik Gift`akaCheater edytował ten post 02.03.2017 23:32