[Ajuda] Aparecer texto para todos os passageiros
#2

Exemplo:
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
    {

        if(motor[playerid] == 1){ Funзгo.. }
    }
    else if(oldstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_PASSENGER)
    {

        TextDrawHideForPlayer(playerid, suatxd);
                motor[playerid] = 0;

    }
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)