Disable drive by, but passenger can shoot?
#1

I disabled drive by, but i wanna let the passenger shoot please help

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
        if(newstate == PLAYER_STATE_PASSENGER || newstate == PLAYER_STATE_DRIVER) SetPlayerArmedWeapon(playerid, 0);
        return 1;
}
Reply
#2

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER) SetPlayerArmedWeapon(playerid, 0);
    return 1;
}
Reply
#3

gotta love ya
Reply
#4

Quote:
Originally Posted by _Jake_
Посмотреть сообщение
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER) SetPlayerArmedWeapon(playerid, 0);
    return 1;
}
your such a f* high roller lol.
thanks <3
Reply
#5

You both really need to learn scripting. Honest.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)