12.06.2017, 02:35
i have big problem in my server some hacks use 'unknown cheats' and bug sound .. hack can play sound to all players online!!!! i don't know what problem this is code:
pleas help me
PHP код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
{
if(issuerid != INVALID_PLAYER_ID) PlayerPlaySound(issuerid, 17802, 0.0, 0.0, 0.0);
if(issuerid != INVALID_PLAYER_ID && iwar[playerid] == 0 && PlayerInfo[playerid][Level] == 0){
iwar[playerid]=1;
cmde[playerid]=1;
SetTimerEx("jetas", 4000, false, "i", playerid);
}
return 1;
}