Command
#2

Your string size is less then the actual size required to show these commands. So you need to change it.

pawn Код:
new toolong[700]; // Calculate string length on all these commands and set it nearby.
    strcat(toolong,"You are a {516e06}Officer{FFFFFF}.\n\nYour job is to clear the city out of crime,protect and serve Los Santos citizents.\n");
    strcat(toolong,"Faction Commands:\n");
    strcat(toolong,"{516e06}/dooropen /gateopen /pdup /pddown /®adio /(f)action /(d)epartments /(m)egaphone\n");
    strcat(toolong,"/mdc /warndriver ---------->/duty<--------- /dragtocar(/dtc) /arrest1 /arrest2 /arrest3 /arrest4 /arrest5 /arrest6\n");
    strcat(toolong,"/tazer /frisk /take /gov /copuntie /removeroadblock(/rrb) /createroadblock(/crb) /showbadge /breathtest\n");
    strcat(toolong,"/laseron /laseroff /lasercol /lasercolist /drag(type again to undrag) /cuff /uncuff{FFFFFF}\n");
    ShowPlayerDialog(playerid,DIALOG_BODYGUARD,DIALOG_STYLE_MSGBOX,"Officer Faction:",toolong,"Close","");
Reply


Messages In This Thread
Command - by dorperez - 03.08.2013, 18:04
Re: Command - by Ballu Miaa - 03.08.2013, 18:09
Re: Command - by dorperez - 03.08.2013, 18:25

Forum Jump:


Users browsing this thread: 2 Guest(s)