20.07.2016, 20:29
Hello, i got that error any one can fix ?
Код:
// level 11 CMD:level11(playerid,params[]) { if(PlayerInfo[playerid][Level] >= 11) { new pDialog[1000]; strcat(pDialog, "{FFFF00}/setlevel {FFFFFF}\n", sizeof(pDialog)); strcat(pDialog, "{FFFF00}/settemplevel {FFFFFF}\n", sizeof(pDialog)); strcat(pDialog, "{FFFF00}/setallcash {FFFFFF}\n", sizeof(pDialog)); strcat(pDialog, "{FFFF00}/kickall {FFFFFF}\n", sizeof(pDialog)); strcat(pDialog, "{FFFF00}/killall {FFFFFF}\n", sizeof(pDialog)); strcat(pDialog, "{FFFF00}/object ID {FFFFFF}\n", sizeof(pDialog)); strcat(pDialog, "{FFFF00}/pickup ID {FFFFFF}\n", sizeof(pDialog)); strcat(pDialog, "{FFFF00}/cia {FFFFFF}\n", sizeof(pDialog)); strcat(pDialog, "{FFFF00}/nameunban {FFFFFF}\n", sizeof(pDialog)); strcat(pDialog, "{FFFF00}/unbanip {FFFFFF}\n", sizeof(pDialog)); strcat(pDialog, "{FFFF00}/apromote {FFFFFF}\n", sizeof(pDialog)) strcat(pDialog, "{FFFF00}/ademote {FFFFFF}\n", sizeof(pDialog)); <error line< 42608 strcat(pDialog, "\n", sizeof(pDialog)); ShowPlayerDialog(playerid, 820, DIALOG_STYLE_MSGBOX, "{0000BB}Developer /level11", pDialog, "Ok",""); return 1; } else return SendClientMessage(playerid,red,"ERROR: You are not a high enough level to use this command"); }