SA-MP Forums Archive
[Ajuda] ERRO INFO - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] ERRO INFO (/showthread.php?tid=650708)

Pages: 1 2


ERRO INFO - Dimbalada - 04.03.2018

Bom tб dando esses erros vo posta linha do erro й os erros

Erros:
PHP Code:
Mode.pwn(16253 -- 16266) : error 012invalid function callnot a valid address
Mode
.pwn(16266) : warning 215expression has no effect
Mode
.pwn(16266) : error 001expected token";"but found ")"
Mode.pwn(16266) : error 029invalid expressionassumed zero
Mode
.pwn(16266) : fatal error 107too many error messages on one line 
Linhas do erro:
PHP Code:
format(Stringsizeof(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], 
Code:
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(Stringsizeof(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]), oRGFext3Player[playerid][Maconha],
    
Player[playerid][Cocaina], Player[playerid][Fogos],oRGFext1);
    
ShowPlayerDialog(playerid666DIALOG_STYLE_MSGBOX"{FFFFFF}INFO{06C57F}»"String"Fechar""");
    return 
1;




Re: ERRO INFO - PilateGR - 04.03.2018

Code:
format(String, sizeof(String),
"{FFFFFF}Nick: {FBEE3D}%s\n\
 {FFFFFF}Admin: {a4a4a4}%s\n\
 {FFFFFF}Matou: {a4a4a4}%d\n\
 {FFFFFF}MOrreu: {9c9c9c}%d", Nome(playerid), CargoAdmintext(playerid), Player[playerid][Matou], Player[playerid][Morreu]);



Re: ERRO INFO - Dimbalada - 04.03.2018

e o restante do code?


Re: ERRO INFO - PilateGR - 05.03.2018

Quote:
Originally Posted by Dimbalada
View Post
e o restante do code?
Vocк teve dъvida em relaзгo o code, certo ? Monte-o vocк mesmo...


Re: ERRO INFO - Dimbalada - 05.03.2018

pode me explicar melhor aonde esta o erro?


Re: ERRO INFO - PilateGR - 05.03.2018

Quote:
Originally Posted by Dimbalada
View Post
pode me explicar melhor aonde esta o erro?
Eu deixei o code sublinhado, ver ai o 'vermelho' й a onde estб o erro


Re: ERRO INFO - Dimbalada - 05.03.2018

Cade ); aqui ?
Quote:

{FFFFFF}Organizaзгo: {9c9c9c}%s", Nome(playerid), CargoAdmintext(playerid), Player[playerid][Matou], Player[playerid][Morreu],




Re: ERRO INFO - PilateGR - 05.03.2018

Quote:
Originally Posted by Dimbalada
View Post
Cade ); aqui ?
Isso mesmo!


Re: ERRO INFO - Dimbalada - 05.03.2018

Continu o mesmo erro nada adiantou


Re: ERRO INFO - PilateGR - 05.03.2018

Quote:
Originally Posted by Dimbalada
View Post
Continu o mesmo erro nada adiantou
Posta o code do erro amigo! ninguйm aqui й profeta nгo filhгo... Primeiro vocк posta um code funcional completo e posta outro incompleto com erro, tu quer oque mesmo?

Resuma seus erros e poste o code claramente, porque vocк esta fazendo algo errado ai no seu "gamemode"


Re: ERRO INFO - Dimbalada - 05.03.2018

Primeiro calma й olha o topico lб em cima code completo, linhas do erro й erros ai voce me diz porfavor qual й o erro


Re: ERRO INFO - Green7 - 05.03.2018

Pode especificar melhor a linha do erro?


Re: ERRO INFO - Dimbalada - 05.03.2018

Quote:
Originally Posted by Green7
View Post
Pode especificar melhor a linha do erro?
Nome dos erros
Quote:

gamemodes\Mode.pwn(16253 -- 16266) : error 012: invalid function call, not a valid address
gamemodes\Mode.pwn(16266) : warning 217: loose indentation
gamemodes\Mode.pwn(16266) : warning 215: expression has no effect
gamemodes\Mode.pwn(16266) : error 001: expected token: ";", but found ")"
gamemodes\Mode.pwn(16266) : error 029: invalid expression, assumed zero
gamemodes\Mode.pwn(16266) : fatal error 107: too many error messages on one line

Agora as linhas dos erros

PHP Code:
linha 16253format(Stringsizeof(String),
linha 16266: {FFFFFF}Organizaзгo: {9c9c9c}%s", Nome(playerid), CargoAdmintext(playerid), Player[playerid][Matou], Player[playerid][Morreu], 
Agora o sistema de info completo

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(Stringsizeof(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]), oRGFext3Player[playerid][Maconha],
    
Player[playerid][Cocaina], Player[playerid][Fogos],oRGFext1);
    
ShowPlayerDialog(playerid666DIALOG_STYLE_MSGBOX"{FFFFFF}INFO{06C57F}»"String"Fechar""");
    return 
1;




Re: ERRO INFO - Green7 - 05.03.2018

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(Stringsizeof(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]), oRGFext3Player[playerid][Maconha], 
    
Player[playerid][Cocaina], Player[playerid][Fogos],oRGFext1); 
    
ShowPlayerDialog(playerid666DIALOG_STYLE_MSGBOX"{FFFFFF}INFO{06C57F}»"String"Fechar"""); 
    return 
1

Tenta aн.


Re: ERRO INFO - Dimbalada - 05.03.2018

Quote:

C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(16253 -- 16266) : error 012: invalid function call, not a valid address
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(16266) : warning 217: loose indentation
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(16266) : warning 215: expression has no effect
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(16266) : error 001: expected token: ";", but found ")"
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(16266) : error 029: invalid expression, assumed zero
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(16266) : fatal error 107: too many error messages on one line

mesmo erro


Re: ERRO INFO - Green7 - 05.03.2018

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(Stringsizeof(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]), oRGFext3Player[playerid][Maconha], 
    
Player[playerid][Cocaina], Player[playerid][Fogos],oRGFext1); 
    
ShowPlayerDialog(playerid666DIALOG_STYLE_MSGBOX"{FFFFFF}INFO{06C57F}»"String"Fechar"""); 
    return 
1

Tenta aн de novo.


Re: ERRO INFO - Dimbalada - 05.03.2018

Mesmo erros mano
Quote:

C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(16253 -- 16267) : error 012: invalid function call, not a valid address
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(16267) : warning 215: expression has no effect
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(16267) : error 001: expected token: ";", but found ")"
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(16267) : error 029: invalid expression, assumed zero
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(16267) : fatal error 107: too many error messages on one line

Linhas do erro:
Quote:

16253: format(String, sizeof(String),
16267:Nome(playerid), CargoAdmintext(playerid), Player[playerid][Matou], Player[playerid][Morreu],




Re: ERRO INFO - Dimbalada - 05.03.2018

alguem ai pode me ajudar?


Re: ERRO INFO - FerrariL - 05.03.2018

Troque essa parte
PHP Code:
 new String[500]; 
    
format(Stringsizeof(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]), oRGFext3Player[playerid][Maconha], 
    
Player[playerid][Cocaina], Player[playerid][Fogos],oRGFext1); 
Por essa,e veja se funciona:
PHP Code:
 new String[500]; 
    
format(Stringsizeof(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]), oRGFext3Player[playerid][Maconha], 
    
Player[playerid][Cocaina], Player[playerid][Fogos],oRGFext1); 
Da pra melhorar isso aqui :
PHP Code:
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"; } 
Maneira legal
PHP Code:
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";
    
    } 



Re: ERRO INFO - RodrigoMSR - 05.03.2018

Use esse compilador: https://sampforum.blast.hk/showthread.php?pid=2768123#pid2768123 (baixe os executбveis e coloque na pasta pawno).