[lil' question] Set the time
#1

Hi, if I want to Set the Time for all I use e.g.
pawn Код:
SetWorldTime(12);
. But this sets only the hours. What's if I want to set the minutes too? Do I use e.g.
pawn Код:
SetPlayerTime(-1,10,10);
?
Reply
#2

I guess that you can't set the minutes with the SetWorldTime();
I know that it's a bit annoying, I have noticed it before.
Reply
#3

Yes, but what will happen if I use SetPlayerTime and instead of "playerid" I put in "-1" for all players?
Reply
#4

Your Pawno would give you an error.
Reply
#5

No error, but could I use "for(new i=0;i<MAX_PLAYERS;i++)" ?
Reply
#6

OK, thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)