24.01.2016, 23:39
Alright so i am working on a server, I made a Anti - C Bug system, that has about a 98% detection rate, The way it works is that every time somebody C bug's they are supposed to lose 10 hp for me when i typed in my line of coding on the filterscript it fully killed the player and set their HP to 0.
Here is my line:
p.s: No Opcodes display when compiled, and everything is defined.
Here is my line:
Код:
forward OnPlayerCBug(playerid); public OnPlayerCBug(playerid) { new playername[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername, sizeof(playername)); CheckCrouch[playerid] = 0; SetPlayerHealth(playerid, - 10); return 1; }
p.s: No Opcodes display when compiled, and everything is defined.