SA-MP Forums Archive
Request: /settime Or /Dark - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Request: /settime Or /Dark (/showthread.php?tid=109368)



Request: /settime Or /Dark - Rickzor14 - 19.11.2009

Hi all,

My server does not has the /settime or Something

Anyone has it? So i can install it, Its light all day..

Thanks


Re: Request: /settime Or /Dark - Luka P. - 19.11.2009

pawn Код:
command(settime,playerid,params[])
{
    new time;
    if(!sscanf(params,"i",time)) return SetWorldTime(time);
    return 1;
}
This is just a basic SetTime script. You will need a ZeeX's Command Processor (zcmd include + sscanf).
Of course, you can add messages like USAGE: /settime and other sh** if you want.


Re: Request: /settime Or /Dark - Rickzor14 - 19.11.2009

Can you make it a SF ?


Re: Request: /settime Or /Dark - Luka P. - 19.11.2009

Quote:
Originally Posted by Rickzor14
Can you make it a SF ?
What SF? (Sorry I'm not so good at English)


Re: Request: /settime Or /Dark - Rickzor14 - 19.11.2009

Filterscript,

So i add it in Filterscript,

And at server.cfg i do Filterscript: ''Scriptname''

Know ?


Re: Request: /settime Or /Dark - Luka P. - 19.11.2009

Yeah I know what is FS
You typed SF so I didn't know what you think.
I'll do it tommorow, I must go now.


Re: Request: /settime Or /Dark - Rickzor14 - 20.11.2009

I need it Today,

Can you post it ?


Re: Request: /settime Or /Dark - Luka P. - 20.11.2009

Download link

Use my zcmd include, because it has integrated sscanf.