04.03.2018, 23:37
Bom tб dando esses erros vo posta linha do erro й os erros
Erros:
Linhas do erro:
Code:
Erros:
PHP Code:
Mode.pwn(16253 -- 16266) : error 012: invalid function call, not a valid address
Mode.pwn(16266) : warning 215: expression has no effect
Mode.pwn(16266) : error 001: expected token: ";", but found ")"
Mode.pwn(16266) : error 029: invalid expression, assumed zero
Mode.pwn(16266) : fatal error 107: too many error messages on one line
PHP Code:
format(String, sizeof(String),
"{FFFFFF}Nick: {FBEE3D}%s\n\
{FFFFFF}Admin: {a4a4a4}%s\n\
{FFFFFF}Matou: {a4a4a4}%d\n\
{FFFFFF}Morreu: {a4a4a4}%d\n\
{FFFFFF}Score: {a4a4a4}%d\n\
{FFFFFF}Cash: {fff600}%d\n\
{FFFFFF}Dinheiro: {49ad00}%d\n\
{FFFFFF}Tempo de Jogo: {a4a4a4}%s\n\
{FFFFFF}Tipo de Conta: {a4a4a4}%s\n\
{FFFFFF}Maconha: {a4a4a4}%d\n\
{FFFFFF}Cocaina: {a4a4a4}%d\n\
{FFFFFF}Fogos: {a4a4a4}%d\n\
{FFFFFF}Organizaзгo: {9c9c9c}%s", Nome(playerid), CargoAdmintext(playerid), Player[playerid][Matou], Player[playerid][Morreu],
PHP Code:
Status(playerid)
{
new CargoAdmintext[100];
if(Player[playerid][Admin] == 5) { CargoAdmintext = "[5]: Game Master"; }
if(Player[playerid][Admin] == 4) { CargoAdmintext = "[4]: Sub Game Master"; }
if(Player[playerid][Admin] == 3) { CargoAdmintext = "[3]: Administrador Fixo"; }
if(Player[playerid][Admin] == 2) { CargoAdmintext = "[2]: Administrador Ajudante"; }
if(Player[playerid][Admin] == 1) { CargoAdmintext = "[1]: Administrador Temporбrio"; }
if(Player[playerid][Admin] == 0) { CargoAdmintext = "Nao"; }
new oRGFext1[100], oRGFext3[100], oRGFext4[100];
if(Player[playerid][PMRJ] == 0) { oRGFext1 = "Nenhuma"; }
if(Player[playerid][BOPE] == 0) { oRGFext1 = "Nenhuma"; }
if(Player[playerid][pHelper] == 0) { oRGFext1 = "Nenhuma"; }
if(Player[playerid][Reporter] == 0) { oRGFext1 = "Nenhuma"; }
if(Player[playerid][BOPE] >= 1) { oRGFext1 = "BOPE"; }
if(Player[playerid][PMRJ] >= 1){ oRGFext1 = "Policia Militar"; }
if(Player[playerid][pHelper] >= 1) { oRGFext1 = "Helper"; }
if(Player[playerid][Reporter] >= 1) { oRGFext1 = "Reporter"; }
if(Player[playerid][Vip] == 0) { oRGFext3 = "Free"; }
if(Player[playerid][Vip] == 1) { oRGFext3 = "VIP"; }
if(Player[playerid][Maconha] == 0) { oRGFext4 = "Nгo"; }
if(Player[playerid][Fogos] == 0) { oRGFext4 = "Nгo"; }
if(Player[playerid][Cocaina] == 0) { oRGFext4 = "Nгo"; }
new String[500];
format(String, sizeof(String),
"{FFFFFF}Nick: {FBEE3D}%s\n\
{FFFFFF}Admin: {a4a4a4}%s\n\
{FFFFFF}Matou: {a4a4a4}%d\n\
{FFFFFF}Morreu: {a4a4a4}%d\n\
{FFFFFF}Score: {a4a4a4}%d\n\
{FFFFFF}Cash: {fff600}%d\n\
{FFFFFF}Dinheiro: {49ad00}%d\n\
{FFFFFF}Tempo de Jogo: {a4a4a4}%s\n\
{FFFFFF}Tipo de Conta: {a4a4a4}%s\n\
{FFFFFF}Maconha: {a4a4a4}%d\n\
{FFFFFF}Cocaina: {a4a4a4}%d\n\
{FFFFFF}Fogos: {a4a4a4}%d\n\
{FFFFFF}Organizaзгo: {9c9c9c}%s", Nome(playerid), CargoAdmintext(playerid), Player[playerid][Matou], Player[playerid][Morreu],
GetPlayerScore(playerid), Player[playerid][Cash], GetPlayerMoney(playerid), Convert(Player[playerid][pOnlineTime]), oRGFext3, Player[playerid][Maconha],
Player[playerid][Cocaina], Player[playerid][Fogos],oRGFext1);
ShowPlayerDialog(playerid, 666, DIALOG_STYLE_MSGBOX, "{FFFFFF}INFO{06C57F}»", String, "Fechar", "");
return 1;
}