Time Issue
#1

Alright, so under public OnGameModeInit() I've got SetWorldTime(12);
I've got the player clock enabled with TogglePlayerClock(playerid, 1);
My issue, is that when the player dies, their time is reset to 00:00 while other players are still running from the 12.
I'm sure it's an easy fix, but I'm still new at Pawn.
Reply
#2

Why would you want to use TogglePlayerClock specifically? If you look onto the wiki, you'll see that it states these things:
Quote:

Note: Time is not synced with other players!

Quote:

Note: Time will automatically advance 6 hours when the player dies.

TogglePlayerClock basically enables the Singleplayer clock and it'll work exactly like that.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)