SA-MP Forums Archive
i have big problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: i have big problem (/showthread.php?tid=635686)



i have big problem - s3ek - 12.06.2017

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:

PHP код:
public OnPlayerTakeDamage(playeridissueridFloat:amountweaponid)
{
 if(
issuerid != INVALID_PLAYER_IDPlayerPlaySound(issuerid178020.00.00.0);
 if(
issuerid != INVALID_PLAYER_ID && iwar[playerid] == && PlayerInfo[playerid][Level] == 0){
 
iwar[playerid]=1;
 
cmde[playerid]=1;
 
SetTimerEx("jetas"4000false"i"playerid);
 }
 return 
1;

pleas help me