[Ajuda]Erros Insplicaveis
#1

Galera , fui ao tуpico de Cуdigos ъteis e achei uma code de algemar.
Код:
//Inнcio do GM:

forward Algemar2(playerid);

//OnPlayerCommandText:

if(strcmp(cmd, "/algemar", true) == 0) {
   if(PROFISSХES OU ORGANIZAЗХES QUE PODERГO USAR O COMANDO){
      new name[MAX_PLAYER_NAME];
        GetPlayerName(playerid, name, sizeof(name));
      new string[128];
      new tmp[256];
        new plid;
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp)){
          SendClientMessage(playerid, 0xF52D0AAA, "/algemar [id]");
            return 1;
            }
            plid = strval(tmp);
            if(!IsPlayerConnected(plid)){
              SendClientMessage(playerid, 0xF52D0AAA, "[ERRO] O jogador nгo estб conectado");
            return 1;
            } else {
              if(GetDistanceBetweenPlayers(plid,playerid) < 21){
                SendClientMessage(playerid, 0x5CAE51AA, "[INFO] Algemado com sucesso!");
          format(string, sizeof(string), "[INFO] Vocк foi algemado por %s ", name);
          SendClientMessage(plid, 0xF8DA07AA, string);
          TogglePlayerControllable(playerid,0);
          SetTimerEx("Algemar2",15000,false,"i",playerid);
                return 1;
                } else {
                  SendClientMessage(playerid,0xF52D0AAA,"[ERRO] Chegue mais perto para poder algemar!");
                return 1;
                }
            }
        } else {
          SendClientMessage(playerid,0xF52D0AAA,"[ERRO] Vocк nгo tem permissгo!");
        return 1;
        }
    }

//Public do Timer:

public Algemar2(playerid) {
TogglePlayerControllable(playerid,1);
SendClientMessage(playerid,0x5CAE51AA,"[INFO] Liberado, jб pode andar.");
return 1;
}
E aqui os erros:
Код:
Compilando MVRPG.pwn...
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(514) : error 017: undefined symbol "VerDinheiro"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(861) : error 017: undefined symbol "Name1"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(890) : error 004: function "ProcessGameTime" is not implemented
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(2298) : error 017: undefined symbol "FunDinheiro"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(2323) : error 017: undefined symbol "FunDinheiro"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(2703) : error 017: undefined symbol "FunDinheiro"
C:\Documents and Setti
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(2704) : error 017: undefined symbol "FunDinheiro"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(2738) : error 017: undefined symbol "VerDinheiro"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(2753) : error 017: undefined symbol "FunDinheiro"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(2754) : error 017: undefined symbol "FunDinheiro"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(2801) : error 017: undefined symbol "VerDinheiro"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(2803) : error 017: undefined symbol "FunDinheiro"
C:\Documents and Settings\Netinho\Desktop\Script P
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(2862) : error 017: undefined symbol "FunDinheiro"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(2967) : error 017: undefined symbol "VerDinheiro"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(2987) : error 017: undefined symbol "FunDinheiro"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(2991) : error 017: undefined symbol "SExo"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(3039) : error 017: undefined symbol "SetarDinheiro"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(3274) : error 017: undefined symbol "FunDinheiro"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(3326) : error 017: undefined symbol "FunDinheiro"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(3441) : error 017: undefined symbol "FunDinheiro"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(4019) : error 017: undefined symbol "FunDinheiro"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(4020) : error 017: undefined symbol "FunDinheiro"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(4066) : error 017: undefined symbol "FunDinheiro"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(4067) : error 017: undefined symbol "FunDinheiro"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(4085) : error 017: undefined symbol "Rg"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual  - SA-MP 0.3b R2 Win32\gamemodes\MVRPG.pwn(4167) : error 017: undefined symbol "VerDinheiro"

Compilation aborted.Pawn compiler 3.2.3664                          Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Muito legal , mas quando eu adapto ele no gamemode aparecem alguns erros que nгo tem nada a ver com o assunto!
Nгo hб nada de errado no code.
Nem no gamemode.
Nгo й so esse comando que da esse erro nгo.
Mas quando eu adapto outros,nem sempre da esse erro!
Quem pode me ajudar?
Reply


Messages In This Thread
[Ajuda]Erros Insplicaveis - by [$]GhosTRydeR[$] - 20.03.2011, 15:11
Re: [Ajuda]Erros Insplicaveis - by JonathanFeitosa - 20.03.2011, 15:17
Re: [Ajuda]Erros Insplicaveis - by [$]GhosTRydeR[$] - 20.03.2011, 15:21
Re: [Ajuda]Erros Insplicaveis - by rjjj - 20.03.2011, 15:25
Re: [Ajuda]Erros Insplicaveis - by Canabis - 20.03.2011, 15:26
Re: [Ajuda]Erros Insplicaveis - by [$]GhosTRydeR[$] - 20.03.2011, 15:26

Forum Jump:


Users browsing this thread: 1 Guest(s)