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.
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);
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.");
}
}
}
}
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.");
}
}
}
}
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.
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.
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.");
}
}
}
}
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.");
}
}
}
}