[AJUDINHA]Erros
#1

pawn Код:
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1125) : error 017: undefined symbol "PlayerName"
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1129) : error 017: undefined symbol "PlayerName"
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1133) : error 017: undefined symbol "PlayerName"
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1137) : error 017: undefined symbol "PlayerName"
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1141) : error 017: undefined symbol "PlayerName"
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1145) : error 017: undefined symbol "PlayerName"
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1149) : error 017: undefined symbol "PlayerName"
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1153) : error 017: undefined symbol "PlayerName"
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1157) : error 017: undefined symbol "PlayerName"
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1161) : error 017: undefined symbol "PlayerName"
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1165) : error 017: undefined symbol "PlayerName"
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1169) : error 017: undefined symbol "PlayerName"
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1174) : error 017: undefined symbol "PlayerName"
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1179) : error 017: undefined symbol "PlayerName"
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1184) : error 017: undefined symbol "PlayerName"
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1189) : error 017: undefined symbol "PlayerName"
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1194) : error 017: undefined symbol "PlayerName"
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1199) : error 017: undefined symbol "PlayerName"
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1204) : error 017: undefined symbol "PlayerName"
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1209) : error 017: undefined symbol "PlayerName"
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1214) : error 017: undefined symbol "PlayerName"
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1219) : error 017: undefined symbol "PlayerName"
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1224) : error 017: undefined symbol "PlayerName"
C:\Users\--\Desktop\Game Mode\gamemodes\GmLol2.pwn(1229) : error 017: undefined symbol "PlayerName"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase

24 Errors.
CODIGO '-' :

pawn Код:
if (kstreak[killerid] == 5){
        format(string,258," %s jб comeзou matando jб foi 5 Para cova",PlayerName(killerid),kstreak[killerid]);
        SendClientMessageToAll(COR_LARANJA,string);
        }
        if (kstreak[killerid] == 10){
        format(string,258,"Acho que (a) %s estб virando um serial killer jб mando 10 pro inferno",PlayerName(killerid),kstreak[killerid]);
        SendClientMessageToAll(COR_LARANJA,string);
        }
        if (kstreak[killerid] == 15){
        format(string,258,"O(A) %s ja esta quase virando um matador Sangue frio Ja Mandou 15 pro espaзo",PlayerName(killerid),kstreak[killerid]);
        SendClientMessageToAll(COR_LARANJA,string);
        }
        if (kstreak[killerid] == 20){
        format(string,258,"O(A) %s Jб virou um assassino Sangue frio Ja Matou 20 infelizes",PlayerName(killerid),kstreak[killerid]);
        SendClientMessageToAll(COR_LARANJA,string);
        }
        if (kstreak[killerid] == 25){
        format(string,258,"O(A) %s Esta para Virar um assassino profissional Ja Matou 25 Pessoas",PlayerName(killerid),kstreak[killerid]);
        SendClientMessageToAll(COLOR_YELLOW,string);
        }
        if (kstreak[killerid] == 30){
        format(string,258,"Acho que %s e parente do chuck norris Ja Matou 30 N00BS",PlayerName(killerid),kstreak[killerid]);
        SendClientMessageToAll(COLOR_YELLOW,string);
        }
        if (kstreak[killerid] == 35){
        format(string,258,"O %s Estб ficando fodгo rapido mate ele (a) Ja Matou 35 Lixos",PlayerName(killerid),kstreak[killerid]);
        SendClientMessageToAll(COLOR_YELLOW,string);
        }
        if (kstreak[killerid] == 40){
        format(string,258,"O(a) %s Ja fez uma chacina em san andreas jб mato 40 putz (Quem vai proteger a cidade ?)",PlayerName(killerid),kstreak[killerid]);
        SendClientMessageToAll(COLOR_YELLOW,string);
        }
        if (kstreak[killerid] == 45){
        format(string,258,"O(a) %s Ja mando 45 pra cova porra robфs tambйm tem medo sabia ?",PlayerName(killerid),kstreak[killerid]);
        SendClientMessageToAll(COLOR_RED,string);
        }
        if (kstreak[killerid] == 50){
        format(string,258,"O Player %s Ja Matou 50 bastardos e tem Uma Recompensa de $50000 para quem mata-lo",PlayerName(killerid),kstreak[killerid]);
        SendClientMessageToAll(COLOR_RED,string);
        }
        if (kstreak[killerid] == 55){
        format(string,258,"O Player %s Ja Matou %s PORRAAAAAAAAAAAAAAAA CHAMEN O EXERCITO A PORRA TODA MAS MATE ELE ! $55000 pra quem mata",PlayerName(killerid),kstreak[killerid]);
        SendClientMessageToAll(COLOR_RED,string);
        }
        if (kstreak[killerid] == 60){
        format(string,258,"O Player %s Ja Matou %s Todos os jogadores On-Line porra chamen a SWAT PRA OWNAR ESSE FDP $60000 pra quem mata --'",PlayerName(killerid),kstreak[killerid]);
        SendClientMessageToAll(COLOR_RED,string);
        }
//=======================================================[Agora a reconpensa do player]=====================================================
        if (kstreak[playerid] == 5){
        format(string,258,"O Player %s Ganhou A recompensa de $5000 Por Matar %s",PlayerName(killerid),PlayerName(playerid));
        SendClientMessageToAll(COLOR_YELLOW,string);
        GivePlayerMoney(killerid,5000);
        }
        if (kstreak[playerid] == 10){
        format(string,258,"O Player %s Ganhou A recompensa de $10000 Por Matar %s",PlayerName(killerid),PlayerName(playerid));
        SendClientMessageToAll(COLOR_YELLOW,string);
        GivePlayerMoney(killerid,10000);
        }
        if (kstreak[playerid] == 15){
        format(string,258,"O Player %s Ganhou A recompensa de $15000 Por Matar %s",PlayerName(killerid),PlayerName(playerid));
        SendClientMessageToAll(COLOR_YELLOW,string);
        GivePlayerMoney(killerid,15000);
        }
        if (kstreak[playerid] == 20){
        format(string,258,"O Player %s Ganhou A recompensa de $20000 Por Matar %s",PlayerName(killerid),PlayerName(playerid));
        SendClientMessageToAll(COLOR_YELLOW,string);
        GivePlayerMoney(killerid,20000);
        }
        if (kstreak[playerid] == 25){
        format(string,258,"O Player %s Ganhou A recompensa de $25000 Por Matar %s",PlayerName(killerid),PlayerName(playerid));
        SendClientMessageToAll(COLOR_YELLOW,string);
        GivePlayerMoney(killerid,25000);
        }
        if (kstreak[playerid] == 30){
        format(string,258,"O Player %s Ganhou A recompensa de $30000 Por Matar %s",PlayerName(killerid),PlayerName(playerid));
        SendClientMessageToAll(COLOR_YELLOW,string);
        GivePlayerMoney(killerid,30000);
        }
        if (kstreak[playerid] == 35){
        format(string,258,"O Player %s Ganhou A recompensa de $35000 Por Matar %s",PlayerName(killerid),PlayerName(playerid));
        SendClientMessageToAll(COLOR_YELLOW,string);
        GivePlayerMoney(killerid,35000);
        }
        if (kstreak[playerid] == 40){
        format(string,258,"O Player %s Ganhou A recompensa de $40000 Por Matar %s",PlayerName(killerid),PlayerName(playerid));
        SendClientMessageToAll(COLOR_YELLOW,string);
        GivePlayerMoney(killerid,40000);
        }
        if (kstreak[playerid] == 45){
        format(string,258,"O Player %s Ganhou A recompensa de $45000 Por Matar %s",PlayerName(killerid),PlayerName(playerid));
        SendClientMessageToAll(COLOR_YELLOW,string);
        GivePlayerMoney(killerid,45000);
        }
        if (kstreak[playerid] == 50){
        format(string,258,"O Player %s Ganhou A recompensa de $50000 Por Matar %s",PlayerName(killerid),PlayerName(playerid));
        SendClientMessageToAll(COLOR_YELLOW,string);
        GivePlayerMoney(killerid,50000);
        }
        if (kstreak[playerid] == 55){
        format(string,258,"O Player %s Ganhou A recompensa de $55000 Por Matar %s",PlayerName(killerid),PlayerName(playerid));
        SendClientMessageToAll(COLOR_YELLOW,string);
        GivePlayerMoney(killerid,55000);
        }
        if (kstreak[playerid] == 60){
        format(string,258,"O Player %s Ganhou A recompensa de $60000 Por Matar %s",PlayerName(killerid),PlayerName(playerid));
        SendClientMessageToAll(COLOR_YELLOW,string);
        GivePlayerMoney(killerid,60000);
        }
Reply
#2

adicione no fim de seu gamemode
pawn Код:
stock PlayerName(playerid)
{
    new Name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, Name, MAX_PLAYER_NAME);
    return Name;
}
Reply
#3

Quote:
Originally Posted by Schocc
Посмотреть сообщение
adicione no fim de seu gamemode
pawn Код:
stock PlayerName(playerid)
{
    new Name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, Name, MAX_PLAYER_NAME);
    return Name;
}
Tranks =) deu certo
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)