SA-MP Forums Archive
How to ???? - 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 to ???? (/showthread.php?tid=177092)



How to ???? - martynas - 16.09.2010

Hi,

How to make that you when you drive with a specific car youll get 200 USD every minute ?


Thanks


Re: How to ???? - Matej_ - 16.09.2010

1. Get Player Vehicle ID
2. Make a timer so every 1 minute you will get cash.


Re: How to ???? - Mauzen - 16.09.2010

Use OnPlayerStateChange to detect when a player enters/exits a vehicle and then set/kill the money timer if the vehicle id is the right.