[Ajuda] Radar - OnPlayerEnterVehicle - Passageiro
#4

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
  if(newstate == PLAYER_STATE_PASSENGER)
    {
        if(dini_Int(file(playerid), "Multas") >= 6)
    {
        SendClientMessage(playerid, Vermelho, "[x]{FFFFFF}Vocк possъi 6 multas nгo pagas por isso estб proibido de dirigir veiculos.");
        RemovePlayerFromVehicle(playerid);
        TogglePlayerControllable(playerid, 0);
    }
    }
    return 1;
}
Onplayerentervehicle, se vocк apertar enter na porta do carro ele jб envia a mensagem. Entгo, seria melhor checar o status dele..
Reply


Messages In This Thread
Radar - OnPlayerEnterVehicle - Passageiro - by MustangGT - 28.07.2013, 01:41
Re: Radar - OnPlayerEnterVehicle - Passageiro - by MonFiTy - 28.07.2013, 01:42
Re: Radar - OnPlayerEnterVehicle - Passageiro - by darkxdll - 28.07.2013, 01:50
Re: Radar - OnPlayerEnterVehicle - Passageiro - by Coe1 - 28.07.2013, 01:52
Re: Radar - OnPlayerEnterVehicle - Passageiro - by MustangGT - 28.07.2013, 01:52

Forum Jump:


Users browsing this thread: 1 Guest(s)