Quote:
Originally Posted by bonas
This is an easy synced clock script.
It is not a pro script but hope you like it.
Untested !
pawn Код:
// top new Timme; new Minut;
// on filterscript/gamemode init SetTimer("ClockSync", 1000, 1);
// onplayerspawn TogglePlayerClock(playerid, 1);
// function
public ClockSync(playerid) { new string[128]; Minut = Minut + 1; if (Minut == 60) { Timme = Timme + 1; Minut = 0; } for(new i; i<MAX_PLAYERS; i++) SetPlayerTime(i, Timme, Minut); format(string, sizeof(string), "The time [%d] [%d]", Timme, Minut); print(string); // testing only. return 1; }
I hope it works 
Don't read this lol
|
I have 1 Warning with this Sync Script
warning 235: public function lacks forward declaration (symbol "ClockSync")
how can i fix this problem? pelase help me
thanx