SA-MP Forums Archive
How can i create ... - 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: How can i create ... (/showthread.php?tid=138099)



How can i create ... - $$ Matej8700 $$ - 31.03.2010

Hi guys,
i have one question,how can i create some timer or idk what in script
so when player has -10000 money he goes to jail !

please someone help
thanks

-Matej


Re: How can i create ... - Correlli - 31.03.2010

https://sampwiki.blast.hk/wiki/SetTimer - set the timer,
https://sampwiki.blast.hk/wiki/GetPlayerMoney - get the money,
https://sampwiki.blast.hk/wiki/SetPlayerPos - teleport him to the jail,
https://sampwiki.blast.hk/wiki/SetPlayerInterior - set the correct interior for the jail (if needed).


Re: How can i create ... - $$ Matej8700 $$ - 31.03.2010

Thanks Don_Correlli