06.07.2015, 09:30
Quote:
If you have like /dm then create it in virtual world, and block dialog if player is in that virtual world
|
Код:
CMD:w(playerid,params[]) { if(God[playerid] == 0) { ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Weapons List", "{FFFFFF}Pistols\n{FFFFFF}Sub-Machine Guns\n{FFFFFF}Shotguns\n{FFFFFF}Assault Rifles\n{FFFFFF}Melee Weapons", "Select", "Cancel"); } else GameTextForPlayer(playerid, "~g~You godmod is enabled ~n~~w~use /god to disable it",4500,3); if(indm[playerid] >= 1) return GameTextForPlayer(playerid,"~g~you are not in freeroam",4500,3); return 1; }