13.12.2014, 13:07
Here is the command
When i type it, it work and the dialog apear and the dialog work but at the same time it send me a client message that this command is unknow.
Please Help,REP++
PHP код:
CMD:weapons(playerid, params[])
{
if(PInfo[playerid][Army]) {
ShowPlayerDialog(playerid, DIALOG_WEAPONS, DIALOG_STYLE_LIST, "Weapons", "AK47\nM4\nSniper Rifle", "Buy", "Cancel");
}
else
{
SendClientMessage(playerid, COLOR_RED, "You are not an army officer !");
}
}
Please Help,REP++