22.07.2017, 12:11
Код:
CMD:setviptime(playerid, params[]) { new hour, minute; if(vip[playerid] < 1) return SendClientMessage(playerid, COLOR_WHITE, "Only VIPs can use this command!"); if(sscanf(params, "dd", hour, minute)) return SendClientMessage(playerid, COLOR_WHITE, "Usage: /vtime [hour] [minutes]"); SetPlayerTime(playerid, hour, minute); SetVipTime[playerid] = 1; return 1; }