Making cmd works every day
#2

You need to give us more information then that, what do you want this command to achieve? The best way, in my opinion would be to use a timer, which I already use to update the hours. Then just add a variable to it let's name that "World24" so after updating every hour, I'd have the command like:

pawn Код:
CMD:world(playerid, params[])
{
if(World24 == 24) // If the World24 = 24 Full day.
{
//code
World24 = 0;
}
return 1;
}
Not a full command, just an example.
Reply


Messages In This Thread
.......... - by MagedXp - 06.04.2013, 10:27
Re: Making cmd works every day - by Isolated - 06.04.2013, 10:37
............ - by MagedXp - 06.04.2013, 11:24
Re: Making cmd works every day - by Stanford - 06.04.2013, 11:39
.............. - by MagedXp - 06.04.2013, 11:53
Re: Making cmd works every day - by Basssiiie - 06.04.2013, 12:22
.................. - by MagedXp - 06.04.2013, 15:03
Re: Making cmd works every day - by Basssiiie - 06.04.2013, 15:13
............. - by MagedXp - 06.04.2013, 15:19
Re: Making cmd works every day - by Basssiiie - 06.04.2013, 15:31

Forum Jump:


Users browsing this thread: 2 Guest(s)