05.08.2016, 12:12
IceBilizard - Edited
Код:
//For DIALOG_GO error #define DIALOG_GO 200 //For pAdminlevel error enum pInfo { pAdminLevel } new PlayerInfo[MAX_PLAYERS][pInfo]; CMD:go(playerid) { if(PlayerInfo[playerid][pAdminLevel]) 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; }