05.03.2018, 15:33
Quote:
Troque essa parte
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Nome dos erros:
PHP Code:
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(16243) : warning 219: local variable "CargoAdmintext" shadows a variable at a preceding level
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(16282 -- 16283) : error 037: invalid string (possibly non-terminated string)
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(16283) : warning 217: loose indentation
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(16283) : error 017: undefined symbol "FFFFFF"
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(16283) : warning 217: loose indentation
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(16283) : error 017: undefined symbol "FBEE3D"
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(16283) : fatal error 107: too many error messages on one line
PHP Code:
16282: format(String, sizeof(String),
"16283: {FFFFFF}Nick: {FBEE3D}%s\n
PHP Code:
Status(playerid)
{
new CargoAdmintext[100];
switch(Player[playerid][Admin])
{
case 0:
CargoAdmintext = "Nao";
case 1:
CargoAdmintext = "[1]: Administrador Temporбrio";
case 2:
CargoAdmintext = "[2]: Administrador Ajudante";
case 3:
CargoAdmintext = "[3]: Administrador Fixo";
case 4:
CargoAdmintext = "[4]: Sub Game Master";
case 5:
CargoAdmintext = "[5]: Game Master";
}
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;
}