04.08.2016, 21:10
try this
or this
Quote:
CMD:go(playerid, params[]) { if(PlayerInfo[playerid][pAdminLevel] > 0) { ShowPlayerDialog(playerid, DIALOG_GO, DIALOG_STYLE_LIST, "SERVER: Teleport Locations", "House Interiors\nRace Tracks\nCity Locations\nPopular Locations\nGym Interiors\nOther", "Select", "Cancel"); } else return SendClientMessage(playerid, COLOR_WHITE, AdminOnly); return 1; } |
Quote:
CMD:go(playerid, params[]) { if(pInfo[playerid][pAdminLevel] > 0) { ShowPlayerDialog(playerid, DIALOG_GO, DIALOG_STYLE_LIST, "SERVER: Teleport Locations", "House Interiors\nRace Tracks\nCity Locations\nPopular Locations\nGym Interiors\nOther", "Select", "Cancel"); } else return SendClientMessage(playerid, COLOR_WHITE, AdminOnly); return 1; } |