[AJUDA]Quando player cancela entrada em veнculo
#2

muda o codigo da public OnPlayerEnterVehicle pra

pawn Код:
public OnPlayerStateChange(playerid, newsatate, oldstate)
{
    if(IsPlayerInAnyVehicle(playerid))
    {
    //codigo pra sumir o objeto
    }
    if(oldstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_PASSENGER)
    {
    //codigo pra voltar o objeto
    }
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)