Server time
#5

Quote:
Originally Posted by GNGification
Посмотреть сообщение
allready tried but then it gives this: (for both answers)
Код:
H:\Pawno\pawno\LS.pwn(1019) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
well use it inside a callback
or loop through players :X or just set the time global
pawn Код:
new rand = random(sizeof(RandomTime));
SetWorldTime(RandomTime[rand][0]);
EDIT
pawn Код:
new RandomTime[4][1] =
{
    {20},
    {17},
    {20},
    {01}
};

    new rand = random(sizeof(RandomTime));
    SetWorldTime(RandomTime[rand][0]);
Change becouse its SetWorldTime and does not need to be a Float
Reply


Messages In This Thread
Server time - by GNGification - 10.03.2012, 10:25
Re: Server time - by Reklez - 10.03.2012, 10:31
Re: Server time - by park4bmx - 10.03.2012, 10:32
Re: Server time - by GNGification - 10.03.2012, 10:33
Re: Server time - by park4bmx - 10.03.2012, 10:41
Re: Server time - by GNGification - 10.03.2012, 10:49
Re: Server time - by CAR - 10.03.2012, 11:47

Forum Jump:


Users browsing this thread: 1 Guest(s)