#1

hi can someone help me with a simple commands thaai s pretty much like an anticheat..because ilook around the anticheats ans they dont really work well
well all i want is just a simple sisstem were if like a players pulls out a rpg or a minigun he aautomatically gets killed or baned :P im tired of stupid hakers coming to ma server when admins are not on thanks
Reply
#2

pawn Код:
if(GetPlayerWeapon(killerid) == 38) return SetPlayerHealth(playerid, 0);
Reply
#3

were do i put this on my gamemode??..het by the way sup viruzzz :P
Reply
#4

put that under OnPlayerDeath

Quote:
Originally Posted by ViruZZzZ_ChiLLL
pawn Код:
if(GetPlayerWeapon(killerid) == 38) return SetPlayerHealth(playerid, 0);
Reply
#5

Quote:
Originally Posted by MEXICAN_NORTE
were do i put this on my gamemode??..het by the way sup viruzzz :P
Under
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(GetPlayerWeapon(killerid) == 38) return Ban(killerid); // Ban much better
return 1;
}
Me, fine, you don't go online on MSN anymore xD
Reply
#6

lol thanks man bothc of yall yea i do but ma damn sister is alwayz on lol thanks for the command
Reply
#7

i aded it to my gamemode but my pawno crash it wont compile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)