Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

[Ajuda] error 035: argument type mismatch (argument 2)

$
0
0
Bom galera fui tenta monta uma stock:CMD e deu uns erros estranhos alguém pode me ajuda-lo pfv

PHP Code:

CMD:la(playerid)
{
    
la(playerid);
    return 
1;


PHP Code:

stock la(playerid)
{
    new 
welcome[3000];
    if(
Player[playerid][admin] <= 0) return SendClientMessage(playerid,vermelho,"Você não tem permissão para executar este comando!");
    if(
Player[playerid][admin])//adm = "Temporário"
    
{
        
format(welcome,"{FFFFFF}Nivel 1\n{4CFA1B}/av /tapa /supertapa /kick /ban /tv /desligartv /verip /agendarban /a /infoplayer");
    }
    if(
Player[playerid][admin] < 2)//Admin Level "Novato";
    
{
        
format(welcome,"{FFFFFF}Nivel 1 - 2\n{4CFA1B}/desbanirip /ir /trazer /esconderijo /******");
    }
    if(
Player[playerid][admin] < 3)//adm = "Intermediario"
    
{
        
format(welcome,"{FFFFFF}Nivel 2 - 3\n{4CFA1B}/******voice /des****** /tempo");
    }
    if(
Player[playerid][admin] < 4)//adm = "Veterano"
    
{
        
format(welcome,"{FFFFFF}Nivel 3 - 4\n{4CFA1B}/******voice /des****** /tempo");
    }
    if(
Player[playerid][admin] < 5)//adm = "Avançado"
    
{
        
format(welcome,"{FFFFFF}Nivel 4 - 5\n{4CFA1B}/******voice /des****** /tempo");
    }
    if(
Player[playerid][admin] < 6)//adm = "Master"
    
{
        
format(welcome,"{FFFFFF}Nivel 5 - 6\n{4CFA1B}/******voice /des****** /tempo");
    }
    if(
Player[playerid][admin] < 7)//adm = "Sub Dono"
    
{
        
format(welcome,"{FFFFFF}Nivel 5 - 6\n{4CFA1B}/******voice /des****** /tempo");
    }
    if(
Player[playerid][admin] < 8)//adm = "Dono"
    
{
        
format(welcome,"{FFFFFF}Nivel Dono\n{4CFA1B}/******voice /des****** /tempo");
    }
    
ShowPlayerDialog(playerid,6523,DIALOG_STYLE_MSGBOX,"{0000FF}» {FFFFFF} Comandos administrativos {0000FF}«"welcome"OK""");
    return 
1;


Code:

C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(2009) : error 035: argument type mismatch (argument 2)
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(2013) : error 035: argument type mismatch (argument 2)
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(2017) : error 035: argument type mismatch (argument 2)
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(2021) : error 035: argument type mismatch (argument 2)
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(2025) : error 035: argument type mismatch (argument 2)
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(2029) : error 035: argument type mismatch (argument 2)
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(2033) : error 035: argument type mismatch (argument 2)
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(2037) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664                          Copyright (c) 1997-2006, ITB CompuPhase


8 Errors.


Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>