29.04.2015, 16:19
Hello Humans 
You know what to do! pleas help me
the error:
BulgEdition.pwn(141) : error 035: argument type mismatch (argument 3)
That is part of account system:

You know what to do! pleas help me
the error:
BulgEdition.pwn(141) : error 035: argument type mismatch (argument 3)
That is part of account system:
Code:
LoginAttempts[playerid]--; format(string, sizeof(string), "Welcome back %s to Bulgarian Edition!\nType your password below to login into your account!\nYou have %d attempts left!", GetPName(playerid), LoginAttempts[playerid]); ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Login into your account.", string, "Login", "Cancel"); if(LoginAttempts[playerid] == 1) { format(string, sizeof(string), "Welcome back %s to Bulgarian Edition!\nType your password below to login into your account!\nThat is your FINAL attempt!", GetPName(playerid)); ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Login into your account.", string, "Login", "Cancel"); } else if(LoginAttempts[playerid] == 0) { new kickerid = -1; SendClientMessage(playerid, -1, "You has been kicked by the server. Reason: Incorrect Password."); format(string, sizeof(string), "%s has been kicked by the server. Reason: %s", GetPName(playerid), ServerReasons[0]); for(new i; i < MAX_PLAYERS; i++) { if(i == playerid) continue; SendClientMessage(i, -1, string); } Line 141: PublicKick(playerid, kickerid, ServerReasons[0]); } stock PublicKick(playerid, kickerid, reason) { LogSave(0, playerid, kickerid, reason); Kick(playerid); return 1; }