Mensaje al subir?
#5

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
Reply


Messages In This Thread
Mensaje al subir? - by Zodiaco - 08.01.2015, 01:28
Re: Mensaje al subir? - by SickAttack - 08.01.2015, 01:46
Respuesta: Re: Mensaje al subir? - by Zodiaco - 08.01.2015, 01:49
Respuesta: Mensaje al subir? - by OTACON - 08.01.2015, 02:03
Respuesta: Mensaje al subir? - by Zodiaco - 08.01.2015, 02:08

Forum Jump:


Users browsing this thread: 1 Guest(s)