[Ajuda] Erro Comando de Criar Carros
#6

Quote:
Originally Posted by Stroon
Посмотреть сообщение
pawn Код:
//--------------- Topo---------------|
new carrocriado[50];
new totalCV;

CMD:c(playerid, params[])
{
    new carroid = strval(params);
    new Float:X,Float:Y,Float:Z,Float:Angle;
    if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1,"[ERRO] Vocк nгo й um administrador!");
    if(isnull(params)) return SendClientMessage(playerid, -1, "[ERRO] Uso: /C [Carro ID]");
    if(carroid >= 400 && carroid <= 611){
        GetPlayerPos(playerid,X,Y,Z);
        GetPlayerFacingAngle(playerid,Angle);

        carrocriado[totalCV] = AddStaticVehicle(carroid, X, Y, Z, Angle, -1, -1);
        PutPlayerInVehicle(playerid,carrocriado[totalCV],0);
        if(GetPlayerInterior(playerid))
        LinkVehicleToInterior(carrocriado[totalCV],GetPlayerInterior(playerid));
        SetVehicleVirtualWorld(carrocriado[totalCV],GetPlayerVirtualWorld(playerid));
        new string[200];
        format(string, sizeof(string), "* Veнculo criado com sucesso [ID:%d]", carroid);
        SendClientMessage(playerid, -1, string);
        totalCV++;
    }
    return 1;
}
pawn Код:
C:\Users\William\Desktop\samp03z_svr_R1_win32\gamemodes\aprender.pwn(156) : warning 217: loose indentation
C:\Users\William\Desktop\samp03z_svr_R1_win32\gamemodes\aprender.pwn(156) : error 029: invalid expression, assumed zero
C:\Users\William\Desktop\samp03z_svr_R1_win32\gamemodes\aprender.pwn(156) : error 017: undefined symbol "cmd_c"
C:\Users\William\Desktop\samp03z_svr_R1_win32\gamemodes\aprender.pwn(156) : error 029: invalid expression, assumed zero
C:\Users\William\Desktop\samp03z_svr_R1_win32\gamemodes\aprender.pwn(156) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
sobraram esses erros
Reply


Messages In This Thread
Erro Comando de Criar Carros - by williamgato - 11.04.2014, 02:08
Re: [AJUDA]Erro Comando de Criar Carros - by Stroon - 11.04.2014, 02:46
Re: [AJUDA]Erro Comando de Criar Carros - by williamgato - 11.04.2014, 02:51
Re: [AJUDA]Erro Comando de Criar Carros - by Krisky_ - 11.04.2014, 02:56
Re: [AJUDA]Erro Comando de Criar Carros - by Stroon - 11.04.2014, 03:09
Re: [AJUDA]Erro Comando de Criar Carros - by williamgato - 11.04.2014, 03:51
Re: [AJUDA]Erro Comando de Criar Carros - by Stroon - 11.04.2014, 12:01
Re: [AJUDA]Erro Comando de Criar Carros - by DannielCooper - 11.04.2014, 13:50
Re: [AJUDA]Erro Comando de Criar Carros - by Stroon - 11.04.2014, 14:21
Re: [AJUDA]Erro Comando de Criar Carros - by williamgato - 12.04.2014, 00:39

Forum Jump:


Users browsing this thread: 1 Guest(s)