Simon's Debug script - 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: Simon's Debug script (
/showthread.php?tid=154418)
Simon's Debug script -
Zomgz0r - 13.06.2010
So I'm trying to edit it a bit to make it more "User friendly" for my new server,
I'm trying to change, in the /time command,
to
Код:
SetWorldTime(playerid,idx);
I get a warning when I that, which says "warning 202: number of arguments does not match definition"
And when I go ingame and change the time, it works the first time but not the rest.
Any idea what I'm doing wrong?
Re: Simon's Debug script -
DJDhan - 13.06.2010
Код:
SetWorldTime(hours);
Above code sets all the players time.
Код:
SetPlayerTime(playerid,hours,minutes);
Above code sets an individual player's time.
Re: Simon's Debug script -
Zomgz0r - 13.06.2010
No, the /time command is /time *hour*.
it would need to be be set to what the player wanted it to be set to, which it already does, but it does it for everyone in that virtual world. I want it just to do that to the player.