Unable To Shoot?
#1

Is there a way to stop the player from being able to shoot?
Reply
#2

pawn Код:
public OnPlayerUpdate(playerid) {
    SetPlayerArmedWeapon(playerid,0);
    return 1;
}
Reply
#3

is that gonna stop him from shooting not going to take his weapon?
Reply
#4

That will give the player no weapons apart from fists, so he can't shoot because he has no weapons.
Reply
#5

what i am trying to do is like a player can hold a weapon like m4 but he can't shoot with it as a cooldown
Reply
#6

This should help https://sampwiki.blast.hk/wiki/SetPlayerArmedWeapon
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)