05.08.2016, 12:49
My bad, try:
I changed => to >=, you could either do that or do > 0 like the post above.
Код:
CMD:go(playerid) { if(PlayerInfo[playerid][pAdminLevel] >= 1) ShowPlayerDialog(playerid, DIALOG_GO, DIALOG_STYLE_LIST, "SERVER: Teleport Locations", "House Interiors\nRace Tracks\nCity Locations\nPopular Locations\nGym Interiors\nOther", "Select", "Cancel"); else SendClientMessage(playerid, COLOR_WHITE, "Only admins are allowed to use this command!"); return 1; }