Weapon hack anticheat exeption
#1

Hello everyone,
Well I am a basic scripter and I have some problems making an exeption for a CMD that gives weapons, I want to make one for it because when players do it they get banned by the server bot.
I don't know if I should make it as :
Код:
if(PlayerInfo[playerid][Admin] >= 1 || IsPlayerAdmin(playerid)) return 1;
if(strcmp(cmdtext, "/(CMD I want)", true) == 0)

    {
		if(GetPlayerState(playerid) == PLAYER_STATE_NONE) return 1;
        {
after the "{" comes the anticheat

Thanks for reading
Reply


Messages In This Thread
Weapon hack anticheat exeption - by Triphon - 12.06.2013, 20:45
Re: Weapon hack anticheat exeption - by park4bmx - 12.06.2013, 20:52
Re : Weapon hack anticheat exeption - by Triphon - 13.06.2013, 07:46
Re: Weapon hack anticheat exeption - by Vince - 13.06.2013, 07:53
Re : Weapon hack anticheat exeption - by Triphon - 13.06.2013, 07:58

Forum Jump:


Users browsing this thread: 1 Guest(s)