02.09.2013, 17:27
Okey so i got this
So how can i make so when they go on duty they get the color blue on the TAB and in game
Quote:
CMD:locker(playerid, params[]) { new string[128]; if(!IsPlayerLoggedIn(playerid) || PlayerInfo[playerid][pAsshole] == 1) return SendClientMessage(playerid, COLOR_GREY, "You are not allowed to use command."); if(IsACop(playerid)) { if(!IsPlayerInRangeOfPoint(playerid, 2.2,256.2174,77.3295,1004.0344)) return SendClientMessage(playerid, COLOR_GREY, "You aren't near your locker."); if(DayNoPD == 1) return SendClientMessage(playerid, COLOR_OOC, "You can't access your locker ((/day))."); ShowDialog(playerid, 5); } |