[Ajuda] Radar - OnPlayerEnterVehicle - Passageiro
#3

O certo seria usar a public "OnPlayerStateChange" , ai usaria
PHP код:
if(oldstate == PLAYER_STATE_ONFOOT && newstate PLAYER_STATE_DRIVER)
{
    if(
dini_Int(file(playerid), "Multas") >= 6)
    {
        
SendClientMessage(playeridVermelho"[x]{FFFFFF}Vocк possъi 6 multas nгo pagas por isso estб proibido de dirigir veiculos.");
        
RemovePlayerFromVehicle(playerid);
        
TogglePlayerControllable(playerid0);
    }

Acho que funcionaria melhor '-'
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)