08.08.2013, 08:06
Quote:
that will remove his weapon the time he press ENTER , not the time he enter the vehicle . if he is fast enough he can equip his weapon another time before he gets in the car . in simple words ,,, no
|
This is a tutorial, you should know about PLAYER_STATE_PASSENGER before presenting people with half-assed solutions.
pawn Code:
public OnPlayerStateChanged(playerid, newstate, oldstate) {
if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER) {
// code
}
}