*** Terrible Title Removed
#1

my player can use gun in car out window,they press Horn and Q and E and key_fire,everybody help me!how to make them no work ??
Reply
#2

PHP код:
public OnPlayerStateChange(playeridnewstateoldstate)
{
    if(
newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
    {
        
SetPlayerArmedWeapon(playerid0);
    }
    return 
1;

Reply
#3

And if he sellgun in car,how to fix?make this in cmd /sellgun?
if(newstate != PLAYER_STATE_DRIVER || newstate != PLAYER_STATE_PASSENGER)
But this is trouble,i ill make them (retrun 0)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)