Time Update
#3

Код:
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;
}
Runs fine without the define, weird i guess. Can you help me make a define? or show me how it's done.
Reply


Messages In This Thread
Time Update - by Uvais - 22.07.2017, 12:01
Re: Time Update - by Bolex_ - 22.07.2017, 12:06
Re: Time Update - by Uvais - 22.07.2017, 12:11
Re: Time Update - by jlalt - 22.07.2017, 12:16
Re: Time Update - by Bolex_ - 22.07.2017, 12:16
Re: Time Update - by Uvais - 22.07.2017, 12:19

Forum Jump:


Users browsing this thread: 3 Guest(s)