Quick and Easy Question
#3

Could try this
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
    {
        new Weap[2];
        GetPlayerWeaponData(playerid, 4, Weap[0], Weap[1]); // Get the players SMG weapon in slot 4
        SetPlayerArmedWeapon(playerid, Weap[0]); // Set the player to driveby with SMG
    }
    return 1;
}
Reply


Messages In This Thread
Quick and Easy Question - by olbeercan - 07.06.2012, 01:02
Re: Quick and Easy Question - by Kindred - 07.06.2012, 01:24
Re: Quick and Easy Question - by zDevon - 07.06.2012, 01:26
Re: Quick and Easy Question - by ReneG - 07.06.2012, 02:14
Re: Quick and Easy Question - by mati233 - 07.06.2012, 02:31

Forum Jump:


Users browsing this thread: 1 Guest(s)