SA-MP Forums Archive
Time integer,string or something else? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Time integer,string or something else? (/showthread.php?tid=299488)



Time integer,string or something else? - wumpyc - 26.11.2011

Hey...what is time?
i mean
PHP код:
if(sscanf(params,"hourandminute",hour,minut))
SetPlayerTime(playerid,hour,minut); 
Time integer,string or something else?


Re: Time integer,string or something else? - Dragony92 - 26.11.2011

if(sscanf(params,"dd",hour,minut))
SetPlayerTime(playerid,hour,minut);


Re: Time integer,string or something else? - Sinc - 26.11.2011

Quote:
Originally Posted by wumpyc
Посмотреть сообщение
Hey...what is time?
i mean
PHP код:
if(sscanf(params,"hourandminute",hour,minut))
SetPlayerTime(playerid,hour,minut); 
Time integer,string or something else?
'Time' is an integer.


Re: Time integer,string or something else? - Calgon - 26.11.2011

Are you looking for seconds?