error 035: argument type mismatch (argument 2)
#1

[LINE ERROR]
C:\Documents and Settings\Administrator\My Documents\Downloads\JakartaGamers-Roleplay-v1.6.0\JakartaGamers Roleplay\Aman\gamemodes\a.pwn(37411) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Administrator\My Documents\Downloads\JakartaGamers-Roleplay-v1.6.0\JakartaGamers Roleplay\Aman\gamemodes\a.pwn(37411) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Administrator\My Documents\Downloads\JakartaGamers-Roleplay-v1.6.0\JakartaGamers Roleplay\Aman\gamemodes\a.pwn(37413) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Documents and Settings\Administrator\My Documents\Downloads\JakartaGamers-Roleplay-v1.6.0\JakartaGamers Roleplay\Aman\gamemodes\a.pwn(37413) : error 017: undefined symbol "cwhite"
C:\Documents and Settings\Administrator\My Documents\Downloads\JakartaGamers-Roleplay-v1.6.0\JakartaGamers Roleplay\Aman\gamemodes\a.pwn(37413) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\My Documents\Downloads\JakartaGamers-Roleplay-v1.6.0\JakartaGamers Roleplay\Aman\gamemodes\a.pwn(37413) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\Administrator\My Documents\Downloads\JakartaGamers-Roleplay-v1.6.0\JakartaGamers Roleplay\Aman\gamemodes\a.pwn(37413) : fatal error 107: too many error messages on one line

[LINE 37411 & 37413]
{
new Name[MAX_PLAYER_NAME];
GetPlayerName(i,Name,sizeof(Name));
{
format(string, sizeof(string), ""cwhite"Level: "cgreen"%d "cwhite"| "cwhite"Name:"cgreen" %s "cwhite"(ID:"cgreen"%i"cwhite") | Rank : "cgreen"%s", PlayerInfo[i][Level], Name, i,AdmRank);
ShowPlayerDialog(playerid,2312,DIALOG_STYLE_MSGBOX ,"Admins Online",string,"OK","");
count++;
}
[CMD:ADMIN]
CMD:admins(playerid, params[])
{
new count = 0, string[256],AdmRank[500];
for(new i = 0; i < MAX_PLAYERS; i++)
if(PlayerInfo[i][Level] == 1)
{
AdmRank = "Volunteer";
}
else if(PlayerInfo[i][Level] == 2)
{
AdmRank = "Helper";
}
else if(PlayerInfo[i][Level] == 3)
{
AdmRank = "Admin level 1";
}
else if(PlayerInfo[i][Level] == 4)
{
AdmRank = "Admin level 2";
}
else if(PlayerInfo[i][Level] == 5)
{
AdmRank = "Admin level 3";
}
else if(PlayerInfo[i][Level] == 6)
{
AdmRank = "Admin level 4";
}
else if(PlayerInfo[i][Level] == 7)
{
AdmRank = "Admin Second Manager";
}
else if(PlayerInfo[i][Level] ==
{
AdmRank = "Admin Faction Manager";
}
else if(PlayerInfo[i][Level] == 9)
{
AdmRank = "Senior Administrator";
}
else if(PlayerInfo[i][Level] == 10)
{
AdmRank = "Head Administrator";
}
for(new i = 0; i < MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i))
{
if(PlayerInfo[i][Level] > 0)
{
new Name[MAX_PLAYER_NAME];
GetPlayerName(i,Name,sizeof(Name));
{
format(string, sizeof(string), ""cwhite"Level: "cgreen"%d "cwhite"| "cwhite"Name:"cgreen" %s "cwhite"(ID:"cgreen"%i"cwhite") | Rank : "cgreen"%s", PlayerInfo[i][Level], Name, i,AdmRank);
ShowPlayerDialog(playerid,2312,DIALOG_STYLE_MSGBOX ,"Admins Online",string,"OK","");
count++;
}
}
}
}
Reply


Messages In This Thread
error 035: argument type mismatch (argument 2) - by Tihoy232 - 15.03.2018, 05:58
Re: error 035: argument type mismatch (argument 2) - by PowerMwK - 15.03.2018, 13:01
Re: error 035: argument type mismatch (argument 2) - by Sew_Sumi - 15.03.2018, 13:27

Forum Jump:


Users browsing this thread: 2 Guest(s)