Quote:
Originally Posted by OTACON
te recomiendo OnPlayerStateChange.
saludos.
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate){ if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER){ GameTextForPlayer(playerid,"~w~Subiste ~n~~r~~h~a tu auto, estas seguro",5000,3); } if(oldstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_PASSENGER && newstate == PLAYER_STATE_ONFOOT){ GameTextForPlayer(playerid,"~w~Bajastes ~n~~r~~h~de tu auto zona peligrosa.",5000,3); } return true; }
|
*.* muchas gracias ire a probar