10.05.2014, 09:26
Your line is tooo big, so use strcat functions...
Just use this!
Did this work?
Just use this!
pawn Код:
CMD:level3(playerid,params[]) {
#pragma unused params
if(PlayerInfo[playerid][Level] >= 3)
{
new string[1024];
strcat(string, "/giveweapon, /sethealth, /setarmour, /givecash, /setskin, /setwanted, /setname, /setweather \n");
strcat(string, "/settime, /setworld, /setinterior, /force, /eject, /bankrupt, /sbankrupt, /ubound \n");
strcat(string, "/lweaps, /countdown, /lammo, /lcar, /lplane, /lhunter, /lrhino, /lseas \n");
strcat(string, "/lsparrow, /lhydra, /carhealth, ,/carcolour, /setping, /announce, /announce2, /destroycar \n");
strcat(string, "/warp, /teleplayer, /vget, /givecar, /givebike, /gethere, /get, /explode \n");
strcat(string, "/jail, /unjail, /freeze, /unfreeze, /akill, /aka, /cac, /caps \n");
strcat(string, "/move, /moveplayer, /healall, /armourall, /lweather, /ltime, /lweapons");
ShowPlayerDialog(playerid, 10, DIALOG_STYLE_MSGBOX, "{46BEE6}Level 3 Commands:",string, "Okay", "Close");
} else return SendClientMessage(playerid,red,"ERROR: You need to be level 3 to use this command");
return 1;
}