[AJUDA]Um errinho aqui -'
#8

Arrumei o seu comando :


pawn Код:
if(strcmp(cmd, "/trazerv", true) == 0)
    {
        if(Criou[playerid] == true)
        {
            SendClientMessage(playerid, VERMELHO_EDU, "Vocк trouxe seu veнculo atй vocк.");
            new Float:V_Pos[4];
            GetPlayerPos(playerid, V_Pos[0], V_Pos[1], V_Pos[2]);
            GetPlayerFacingAngle(playerid, V_Pos[3]);
            SetVehiclePos(PlayerInfo[playerid][pCar], V_Pos[0], V_Pos[1], V_Pos[2]+1);
            SetVehicleZAngle(PlayerInfo[playerid][pCar], V_Pos[3]);
            LinkVehicleToInterior(PlayerInfo[playerid][pCar], GetPlayerInterior(playerid));
            SetVehicleVirtualWorld(PlayerInfo[playerid][pCar], GetPlayerVirtualWorld(playerid));
            PutPlayerInVehicle(playerid, PlayerInfo[playerid][pCar], 0);
        }
        else
        {
            SendClientMessage(playerid, VERMELHO_EDU, "[ERRO]:Vocк nгo criou nenhum veнculo atй agora!");
        }
        return 1;
    }


Espero ter ajudado .
Reply


Messages In This Thread
[AJUDA]Um errinho aqui -' - by Edu33 - 27.05.2012, 02:10
Re: [AJUDA]Um errinho aqui -' - by Coreia - 27.05.2012, 02:25
Re: [AJUDA]Um errinho aqui -' - by EditPawn - 27.05.2012, 03:00
Re: [AJUDA]Um errinho aqui -' - by Bruno Pereira - 27.05.2012, 03:06
Re: [AJUDA]Um errinho aqui -' - by Edu33 - 27.05.2012, 11:02
Re: [AJUDA]Um errinho aqui -' - by EditPawn - 27.05.2012, 11:43
Re: [AJUDA]Um errinho aqui -' - by Edu33 - 27.05.2012, 12:20
Re: [AJUDA]Um errinho aqui -' - by rjjj - 27.05.2012, 13:30
Re: [AJUDA]Um errinho aqui -' - by Edu33 - 27.05.2012, 13:56

Forum Jump:


Users browsing this thread: 1 Guest(s)