Help needed
#3

Your line is tooo big, so use strcat functions...

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;
}
Did this work?
Reply


Messages In This Thread
Help needed - by Proximo - 10.05.2014, 09:17
Re: Help needed - by Twizted - 10.05.2014, 09:24
Re: Help needed - by Guest4390857394857 - 10.05.2014, 09:26
Re: Help needed - by SecondMillenium - 10.05.2014, 09:26
Re: Help needed - by DaniceMcHarley - 10.05.2014, 09:27
Re: Help needed - by Proximo - 10.05.2014, 09:36

Forum Jump:


Users browsing this thread: 1 Guest(s)