06.10.2011, 22:00
the ingame clock is a good way to go, you will need to script a bit more on it in order to make the weather changes smooth btw.. have a look here: https://sampwiki.blast.hk/wiki/TogglePlayerClock
its a good idea to place it in the OnPlayerConnect() btw
the deathlist (F9) icons are sent by using SendDeathMessage():
.. and can be used to show a player connecting/disconnecting aswell, by using the reason 200 and 201.
for a location textdraw (left bottom "Harry Gold Parkway") you should search here for a "zone" filterscript, you wont have problems finding one..
yes, timers are using the ms (milliseconds). you will need such a "precise" timer in order to let your server adjust the game clock for players (when you pause game, then your clock will freeze aswell until you unpause again), so updating each players' clock each gamehour (or real minute) will do fine.
oh, btw: i already figured out that this is not your server after 1/2 second: its a screenshot from CrazyBob's Cops and Robbers, yet the State-Of-The-Art CnR server
its a good idea to place it in the OnPlayerConnect() btw
the deathlist (F9) icons are sent by using SendDeathMessage():
Код:
public OnPlayerDeath(playerid, killerid, reason){ SendDeathMessage(killerid,playerid,reason); }
for a location textdraw (left bottom "Harry Gold Parkway") you should search here for a "zone" filterscript, you wont have problems finding one..
yes, timers are using the ms (milliseconds). you will need such a "precise" timer in order to let your server adjust the game clock for players (when you pause game, then your clock will freeze aswell until you unpause again), so updating each players' clock each gamehour (or real minute) will do fine.
oh, btw: i already figured out that this is not your server after 1/2 second: its a screenshot from CrazyBob's Cops and Robbers, yet the State-Of-The-Art CnR server