How to makes that player can't shot
#3

Quote:
Originally Posted by Voxel
Посмотреть сообщение
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if (PRESSED(KEY_FIRE))
    {
        new x, y, z;
                GetPlayerPos(playerid, x, y, z);
                SetPlayerPos(playerid, x, y, z+1);
                //or try this: ResetPlayerWeapons(playerid);
    }
    return 1;
}
not sure if that would work but give it a try !
or just simply dont give them a weapon ._.??: ResetPlayerWeapons(playeridid);
Tested, but doesn't works
It's worst than ever, when you hit too many times the KEY_FIRE doesn't shot, but when you release the button, then you can shot normal.

The shot is just cancelled when you hit constantly, if you just hit the KEY 1 time, or at ending of the pressing the key, it fires

Thanks , anyway.
Reply


Messages In This Thread
How to makes that player can't shot - by CrossOv3r - 16.11.2013, 16:37
Re: How to makes that player can't shot - by Voxel - 16.11.2013, 16:57
Respuesta: Re: How to makes that player can't shot - by CrossOv3r - 16.11.2013, 17:31
Re: How to makes that player can't shot - by Konstantinos - 16.11.2013, 17:49

Forum Jump:


Users browsing this thread: 1 Guest(s)