SA-MP Forums Archive
[HELP] World time. - 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: [HELP] World time. (/showthread.php?tid=118008)



[HELP] World time. - screw - 02.01.2010

Hi,

What i want...
I want to change the time, but not by entering a command.
I want that one real hour is one GTA day. How could i get this?

What i need...
Players can check the time by entering /time. how to make this command?
There is also a car, i want that every GTA hour that the person drives in that car (model 574) rechives 2 Credits (Own cash system)..

Some information....
GivePlayerPCash(playerid, 2); (on this way the player rechives the 2 Credits)
if (GetVehicleModel(playerid) == 574) (To check if the player is driving the car with model number 574, most of you already know this)...

please help...




Re: [HELP] World time. - dice7 - 02.01.2010

http://forum.sa-mp.com/index.php?topic=114903.0
http://forum.sa-mp.com/index.php?board=62.0
http://forum.sa-mp.com/index.php?action=search


Re: [HELP] World time. - screw - 02.01.2010

Il allready searched but they dont give me the answers i need, i want to know what i am doing, and i dont want to add some filterscripts...


Re: [HELP] World time. - dice7 - 02.01.2010

Quote:
Originally Posted by screw
Hi,

What i want...
I want to change the time, but not by entering a command.
I want that one real hour is one GTA day. How could i get this?
https://sampwiki.blast.hk/wiki/SetTimer


Quote:
Originally Posted by screw
What i need...
Players can check the time by entering /time. how to make this command?
https://sampwiki.blast.hk/wiki/Format
https://sampwiki.blast.hk/wiki/SendClientMessage

Quote:
Originally Posted by screw
Some information....
GivePlayerPCash(playerid, 2); (on this way the player rechives the 2 Credits)
if (GetVehicleModel(playerid) == 574) (To check if the player is driving the car with model number 574, most of you already know this)...
https://sampwiki.blast.hk/wiki/Loop
https://sampwiki.blast.hk/wiki/GetVehicleModel

Inspiration for the credit system
http://forum.sa-mp.com/index.php?topic=139102.0
http://forum.sa-mp.com/index.php?topic=141855.0
http://forum.sa-mp.com/index.php?topic=121344.0