Simon's Debug script
#1

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,
Код:
SetWorldTime(idx);
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?
Reply
#2

Код:
SetWorldTime(hours);
Above code sets all the players time.

Код:
SetPlayerTime(playerid,hours,minutes);
Above code sets an individual player's time.
Reply
#3

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)