[Ajuda] ERRO QUANDO VO COMPILAR
#1

AJUDA AE GALERA
pawn Код:
C:\Users\Pedro Henrque\Desktop\BVP\gamemodes\BVP.pwn(24271) : error 017: undefined symbol "plid"
C:\Users\Pedro Henrque\Desktop\BVP\gamemodes\BVP.pwn(24272) : error 017: undefined symbol "plid"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
Linha 24271 >
pawn Код:
SetPlayerVIP(plid, 3);
Linha 24272 >
pawn Код:
format(string, sizeof(string), "%s (%d) (») Promoveu: %s (%d) para VIP (») Por %d dia(s)!", GetPlayerNameEx(playerid), playerid, GetPlayerNameEx(plid), plid, dias);
Reply
#2

se puder colocar o codigo inteiro ajudaria um pouco
provavelmente vc esqueceu da variavel
new plid;
Reply
#3

pawn Код:
if(listitem == 0)                     // VIP
            {
                if(grana > 49999)
                {
                    GivePlayerGrana(playerid, -500000);
                    SendClientMessage(playerid, Blue, "Vocк conseguiu VIP 3 Dias.");
                    SetPlayerVIP(plid, 3);
                    format(string, sizeof(string), "%s (%d) (») Promoveu: %s (%d) para VIP (») Por %d dia(s)!", GetPlayerNameEx(playerid), playerid, GetPlayerNameEx(plind), plid, dias);
                    SendClientMessageToAll(tcadm, string);
                }
                else
                {
                    SendClientMessage(playerid, Vermelho, "Vocк nгo tem dinheiro suficiente.");
                        }
            }
        }
    }
Reply
#4

Quote:
Originally Posted by Comanfis157
Посмотреть сообщение
pawn Код:
if(listitem == 0)                     // VIP
            {
                if(grana > 49999)
                {
                    GivePlayerGrana(playerid, -500000);
                    SendClientMessage(playerid, Blue, "Vocк conseguiu VIP 3 Dias.");
                    SetPlayerVIP(plid, 3);
                    format(string, sizeof(string), "%s (%d) (») Promoveu: %s (%d) para VIP (») Por %d dia(s)!", GetPlayerNameEx(playerid), playerid, GetPlayerNameEx(plind), plid, dias);
                    SendClientMessageToAll(tcadm, string);
                }
                else
                {
                    SendClientMessage(playerid, Vermelho, "Vocк nгo tem dinheiro suficiente.");
                        }
            }
        }
    }
tenta assim
pawn Код:
if(listitem == 0)                     // VIP
            {
                if(grana > 49999)
                {
                    new plid;
                    GivePlayerGrana(playerid, -500000);
                    SendClientMessage(playerid, Blue, "Vocк conseguiu VIP 3 Dias.");
                    SetPlayerVIP(plid, 3);
                    format(string, sizeof(string), "%s (%d) (») Promoveu: %s (%d) para VIP (») Por %d dia(s)!", GetPlayerNameEx(playerid), playerid, GetPlayerNameEx(plind), plid, dias);
                    SendClientMessageToAll(tcadm, string);
                }
                else
                {
                    SendClientMessage(playerid, Vermelho, "Vocк nгo tem dinheiro suficiente.");
                        }
            }
        }
    }
Reply
#5

pawn Код:
C:\Users\Pedro Henrque\Desktop\BVP\gamemodes\BVP.pwn(24272) : error 035: argument type mismatch (argument 1)
C:\Users\Pedro Henrque\Desktop\BVP\gamemodes\BVP.pwn(24273) : error 017: undefined symbol "plind"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
Reply
#6

Quote:
Originally Posted by Comanfis157
Посмотреть сообщение
pawn Код:
C:\Users\Pedro Henrque\Desktop\BVP\gamemodes\BVP.pwn(24272) : error 035: argument type mismatch (argument 1)
C:\Users\Pedro Henrque\Desktop\BVP\gamemodes\BVP.pwn(24273) : error 017: undefined symbol "plind"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
arrumei o anterior ta edited tenta denovo
Reply
#7

pawn Код:
C:\Users\Pedro Henrque\Desktop\BVP\gamemodes\BVP.pwn(24273) : error 017: undefined symbol "plind"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Reply
#8

pawn Код:
if(listitem == 0)                     // VIP
            {
                if(grana > 49999)
                {
                    new plid;
                    GivePlayerGrana(playerid, -500000);
                    SendClientMessage(playerid, Blue, "Vocк conseguiu VIP 3 Dias.");
                    SetPlayerVIP(plid, 3);
                    format(string, sizeof(string), "%s (%d) (») Promoveu: %s (%d) para VIP (») Por %d dia(s)!", GetPlayerNameEx(playerid), playerid, GetPlayerNameEx(plid), plid, dias);
                    SendClientMessageToAll(tcadm, string);
                }
                else
                {
                    SendClientMessage(playerid, Vermelho, "Vocк nгo tem dinheiro suficiente.");
                        }
            }
        }
    }
Reply
#9

DEU ERRO, MAS EU CONSEGUIR FIZ ASSIM O
pawn Код:
if(listitem == 0)                     // VIP
            {
                if(grana > 49999)
                {
                    new plid;
                    GivePlayerGrana(playerid, -500000);
                    SendClientMessage(playerid, Blue, "Vocк conseguiu VIP 3 Dias.");
                    SetPlayerVIP(plid, 3);
                    format(string, sizeof(string), "%s (%d) (») Comprou VIP 3 Dias !", GetPlayerNameEx(playerid), playerid, GetPlayerNameEx(plid));
                    SendClientMessageToAll(tcadm, string);
                }
                else
                {
                    SendClientMessage(playerid, Vermelho, "Vocк nгo tem dinheiro suficiente.");
                        }
            }
        }
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)