[AJUDA]Um errinho aqui -'
#3

o certo
pawn Код:
if(strcmp(cmd, "/TRAZERV", true) == 0)
    {
        if(Criou[playerid] == true)
        {
            SendClientMessage(playerid, VERMELHO_EDU, "Vocк trouxe seu veнculo atй vocк.");
            new
                Float:pPosx,
                Float:pPosy,
                Float:pPosz,
                Float:pPosa
            ;
            new vehicleid[MAX_PLAYERS];
            GetPlayerPos(playerid, pPosx, pPosy, pPosz);
            pPosa = GetPlayerFacingAngle(playerid, pPosa);
            SetVehiclePos(vehicleid[playerid], pPosx, pPosy, pPosz+1);
            SetVehicleZAngle(vehicleid[playerid], pPosa);
            PutPlayerInVehicle(playerid, vehicleid[playerid], 0);
            return 1;
        }
        else
        {
            SendClientMessage(playerid, VERMELHO_EDU, "[ERRO]:Vocк nгo criou nenhum veнculo atй agora!");
            return 1;
        }
    }

Eu acho que й isso, se eu estiver errado que me corrijam
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)