19.04.2014, 10:04
try this?
pawn Code:
if(!strcmp(cmdtext, "/cmds", true))
{
if(IsPlayerConnected(playerid))
{
new string[300]; // You didnt add this line.
strcat(string, "{FF0000}Player:{FFFFFF} /O = Body objects /Skin = Change your skin /kill = suicide /Pm {id} {message} /mycolor = change your color\n/Ptele {ID} /Top5\n\n");
strcat(string, "{FFFFFF} /Teles = important teleport /Teleports = Many Teleports + Cities\n\n");
strcat(string, "{FFFFFF} /Car [name/id] /V = Vehicles List Press 'HORN' button to fix car\n\n");
strcat(string, "{FFFFFF} /Admins = Show online admins\n\n");
ShowPlayerDialog(playerid, DIALOG_DCMDS, DIALOG_STYLE_MSGBOX, "{FFFF00}StuntNoobZ - Rules!",string,"Okay","");
return 1;
}