[AJUDA] Comando /reparar bug
#9

Quote:
Originally Posted by Josma_cmd
Посмотреть сообщение
pawn Код:
C:\Users\MICRO\Desktop\Progressao pawn\gamemodes\ProgressaoRPG.pwn(1243) : error 017: undefined symbol "BaggageCar"
C:\Users\MICRO\Desktop\Progressao pawn\gamemodes\ProgressaoRPG.pwn(1245) : error 017: undefined symbol "COLOR_RED"
C:\Users\MICRO\Desktop\Progressao pawn\gamemodes\ProgressaoRPG.pwn(1250) : error 017: undefined symbol "COLOR_RED"
C:\Users\MICRO\Desktop\Progressao pawn\gamemodes\ProgressaoRPG.pwn(1257) : error 017: undefined symbol "COLOR_GRAD2"
C:\Users\MICRO\Desktop\Progressao pawn\gamemodes\ProgressaoRPG.pwn(1260) : error 017: undefined symbol "RepairCar"
C:\Users\MICRO\Desktop\Progressao pawn\gamemodes\ProgressaoRPG.pwn(1260) : warning 215: expression has no effect
C:\Users\MICRO\Desktop\Progressao pawn\gamemodes\ProgressaoRPG.pwn(1260) : error 001: expected token: ";", but found "]"
C:\Users\MICRO\Desktop\Progressao pawn\gamemodes\ProgressaoRPG.pwn(1260) : error 029: invalid expression, assumed zero
C:\Users\MICRO\Desktop\Progressao pawn\gamemodes\ProgressaoRPG.pwn(1260) : fatal error 107: too many error messages on one line

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


8 Errors.
pawn Код:
if(strcmp(cmd, "/reparar", true) == 0)
    {
        new PlayerB, tmp[20];
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp)) return SendClientMessage(playerid, 0xFFFFFFFF, "Uso correto: /Reparar [id]");
        PlayerB = strval(tmp);
        if(!IsPlayerConnected(PlayerB)) return SendClientMessage(playerid, 0xFFFFFFFF, "Este jogador nгo estб conectado");
        if(!IsPlayerInAnyVehicle(PlayerB)) return SendClientMessage(playerid, 0xFFFFFFFF, "Este jogador nгo estб em um veiculo");
        RepairVehicle(PlayerB);
        SendClientMessage(playerid, 0xFFFFFFFF, "Veiculo reparado");
        SendClientMessage(PlayerB, 0xFFFFFFFF, "Seu veiculo foi reparado");
        return 1;
    }
Agora num aparece mais "Comando nгo existente", aparece Veнculo Reparado, mais o veнculo nгo conserta ;(
@Edit
Vou retestar. daн mais tarde dou resultados
Reply


Messages In This Thread
[AJUDA] Comando /reparar bug - by GuikBretas - 13.07.2011, 13:20
Re: [AJUDA] Comando /reparar bug - by Gabriel Duarte - 13.07.2011, 14:07
Re: [AJUDA] Comando /reparar bug - by Gabriel Duarte - 13.07.2011, 16:46
Re: [AJUDA] Comando /reparar bug - by Josma_cmd - 13.07.2011, 17:00
Re: [AJUDA] Comando /reparar bug - by FreeGells - 13.07.2011, 17:02
Re: [AJUDA] Comando /reparar bug - by Gabriel Duarte - 13.07.2011, 17:04
Re: [AJUDA] Comando /reparar bug - by Josma_cmd - 13.07.2011, 17:09
Re: [AJUDA] Comando /reparar bug - by Gabriel Duarte - 13.07.2011, 17:12
Re: [AJUDA] Comando /reparar bug - by GuikBretas - 13.07.2011, 19:19
Re: [AJUDA] Comando /reparar bug - by Gabriel Duarte - 13.07.2011, 19:29

Forum Jump:


Users browsing this thread: 1 Guest(s)