02.10.2012, 20:39
I have this CMD:
How can I convert it so when they click 'Faction Name' it will come up with a message box and you can insert a name via dialog and then it will read it and like pickup the amount of characters(above 2 under 32)?
+rep, I cannot do this whatsoever :/
I have no idea how I can create this, I have been told I need to use strlen text but I have no idea how
Quote:
CMD:editgroups(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 5) return SendClientMessage(playerid, COLOR_WHITE, "You are not authorised to use this command!"); { ShowPlayerDialog(playerid,6119,DIALOG_STYLE_LIST," Edit Groups:", "Faction Name\nFaction ID", "Select", "Ok"); } return 1; } |
+rep, I cannot do this whatsoever :/
I have no idea how I can create this, I have been told I need to use strlen text but I have no idea how