06.09.2015, 12:29
Quote:
|
Look at these code examples for the ridiculousness of some of the design choices.
Код:
if(ac_i < AntiCheatInfo[playerid][acCall][13] + ac_Mtfc[13][0]) ac_FloodDetect(playerid, 13);
else if(ac_i < AntiCheatInfo[playerid][acCall][27] + ac_Mtfc[27][0]) ac_FloodDetect(playerid, 27);
else AntiCheatInfo[playerid][acFloodCount][13] = AntiCheatInfo[playerid][acFloodCount][27] = 0;
Код:
AntiCheatInfo[AntiCheatVehInfo[vehicleid][acDriver]][acNOPCount][4] = 0;
AntiCheatInfo[AntiCheatVehInfo[vehicleid][acDriver]][acSetVehHealth] = health;
AntiCheatInfo[AntiCheatVehInfo[vehicleid][acDriver]][acGtc][4] = GetTickCount();
|
However, I don't think the style of my code is good, but I don't have time to make it better.
Quote:
|
This I agree with you I hope in futur he start to split his script and use the methods you said.
|
New Version v1.8.5
Fixes:Fixed some checks for invalid vehicle model
Download: See the first post


