03.05.2018, 19:18
Код:
CMD:gotojob(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SCM(playerid, COLOR_LIGHTRED, "You need to log in first."); if(PlayerInfo[playerid][pAdmin] == 0) return SCM(playerid, COLOR_LIGHTRED, "Nu ai acces la aceasta comanda."); { ShowPlayerDialog(playerid, DIALOG_GOTOJOB, DIALOG_STYLE_LIST,"Gotojob", "Detective\nDrugs Dealer\nPizza Boy\nBus Driver\nArms Dealer\nGarbageman\nFisherman\nTrucker\nFarmer"); return 1; } return 1; }