anti cheat problem
#9

Quote:
Originally Posted by ashwinsekhari
Посмотреть сообщение
idk what all is this can u give an example
lets say the AntiCheat system has a costume function to give guns so it allows the player to have a gun and not ban them.

so. in the AntiCheat sys.
pawn Код:
forward GiveGun(playerid,WEPID,AMO);
public GiveGun(playerid,WEPID,AMO)//it needs to be a public so we can call it
{
     //what ever variable the system is using to allow the gun to the player
     AllowPlayerWeapon(playerid);//example (i dont know how the AntiCheat is made)
     GiveWeapon(playerid,WEPID,AMO);
}
then to call that function lets say from your gamemode
pawn Код:
CallRemoteFunction("GiveGun", "iii", playerid,24,200);//give playerid a Desert eagle(24) with 200 amo
Reply


Messages In This Thread
anti cheat problem - by ashwinsekhari - 09.11.2012, 13:30
Re: anti cheat problem - by ashwinsekhari - 09.11.2012, 13:41
Re: anti cheat problem - by Astralis - 09.11.2012, 13:47
Re: anti cheat problem - by park4bmx - 09.11.2012, 13:48
Re: anti cheat problem - by ashwinsekhari - 09.11.2012, 13:49
Re: anti cheat problem - by park4bmx - 09.11.2012, 13:51
Re: anti cheat problem - by ashwinsekhari - 09.11.2012, 13:52
Re: anti cheat problem - by ashwinsekhari - 09.11.2012, 14:05
Re: anti cheat problem - by park4bmx - 09.11.2012, 14:06

Forum Jump:


Users browsing this thread: 2 Guest(s)