New Crash !!!
#7

Quote:
Originally Posted by neymar1477
Посмотреть сообщение
How do I get to ban automatically ?
pawn Код:
public OnPlayerWeaponShot( playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ )
{
        new Float:x, Float:y, Float:z;
        GetPlayerPos(playerid, x, y, z);

        //Desync weapon IDs that don't fire bullets
        if (weaponid < 22 || weaponid > 38)
        {
            Ban(playerid);
                return 0;
        }

        //Desync shots with Z pos out of bounds
        if(!(-20000.0 <= z <= 20000.0))
                return 0;

        return 1;
}
Reply


Messages In This Thread
New Crash !!! - by neymar1477 - 10.07.2015, 04:29
Re: New Crash !!! - by Lucky™ - 10.07.2015, 04:43
Re: New Crash !!! - by neymar1477 - 10.07.2015, 05:15
Re: New Crash !!! - by SecretBoss - 10.07.2015, 05:25
Re: New Crash !!! - by awsomedude - 10.07.2015, 05:27
Re: New Crash !!! - by Sithis - 10.07.2015, 05:48
Re: New Crash !!! - by Lucky™ - 10.07.2015, 06:24
Re: New Crash !!! - by neymar1477 - 10.07.2015, 07:26

Forum Jump:


Users browsing this thread: 1 Guest(s)