Quote:
Originally Posted by Bible
You are using an else-if statement which is nested inside an IF statement.
pawn Код:
if (isnull(params)) { ShowPlayerDialog(playerid,dstats,DIALOG_STYLE_MSGBOX, "%s", "Account: %s\nMoney: $%d\nKills: %d\nDeaths: %d",GetPlayerName(playerid),GetPlayerMoney(playerid),pInfo[playerid][Kills],pInfo[playerid][Deaths] "Close", ""); if(IsPlayerConnected(id)) { ShowPlayerDialog(playerid,dstats,DIALOG_STYLE_MSGBOX, "%s", "Account: %s\nMoney: $%d\nKills: %d\nDeaths: %d",GetPlayerName(id),GetPlayerMoney(id),pInfo[id][Kills],pInfo[id][Deaths] "Close", ""); } else return SendClientMessage(playerid,0xFF000080,"Player has not logged in the server!"); }
And what is this?
|
Oh, I got that from another script to check if the player typed the correct usage. I removed it anyway and still got the same error