[Ajuda] RemovePlayerFromVehicle
#2

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER)
    {
       new Empregoid[MAX_PLAYERS]; //apage isto
       new vid = GetPlayerVehicleID(playerid);
       if(Caminhao(vid))
       {
           if(Empregoid(playerid) != 1) //renomeie o "Empregoid" para a variavel de emprego do seu servidor. mude o "!= 1" para o id do seu emprego
           {
                SendClientMessage(playerid, -1, "Vocк nгo й um caminhoneiro");
                RemovePlayerFromVehicleEx(playerid);
           }
        }
    }
    return 1;
}
Questгo da text3d pode ser o "virtualword" que provavelmente esteja com id errado. Й interior que vocк colocou para aparecer ?

tente essa:
pawn Код:
Create3DTextLabel("/SerCaminhoneiro", Amarelo, 2171.3208,-2312.9211,13.5469, 4, 0);
Reply


Messages In This Thread
RemovePlayerFromVehicle - by DenilsonN - 29.06.2016, 07:27
Re: RemovePlayerFromVehicle - by XandyMello - 29.06.2016, 08:38
Re: RemovePlayerFromVehicle - by F1N4L - 29.06.2016, 12:39
Re: RemovePlayerFromVehicle - by DenilsonN - 29.06.2016, 20:19
Re: RemovePlayerFromVehicle - by Whoo - 29.06.2016, 20:32
Re: RemovePlayerFromVehicle - by DenilsonN - 29.06.2016, 20:56
Re: RemovePlayerFromVehicle - by focaximubh - 29.06.2016, 23:26
Re: RemovePlayerFromVehicle - by DenilsonN - 01.07.2016, 06:13
Re: RemovePlayerFromVehicle - by DenilsonN - 01.07.2016, 18:53
Re: RemovePlayerFromVehicle - by DenilsonN - 01.07.2016, 18:59

Forum Jump:


Users browsing this thread: 1 Guest(s)