SA-MP Forums Archive
Need help with 1km car system (+rep) - 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)
+--- Thread: Need help with 1km car system (+rep) (/showthread.php?tid=369075)



Need help with 1km car system (+rep) - tuuler - 15.08.2012

Hi, how i can make system when i enter in a random vehicle.

And when i drive 1km then i will get 1 score ?

And i need texture where it says me how much i have been drive'd

Please help, i will give rep !


Re: Need help with 1km car system (+rep) - shaniyal - 15.08.2012

lol never heard about it


AW: Need help with 1km car system (+rep) - Epixel - 15.08.2012

Make a timer, when he is IN THE CAR and give him Scorepoints. ^^


Re: Need help with 1km car system (+rep) - Face9000 - 15.08.2012

For 1km speed: https://sampwiki.blast.hk/wiki/GetVehicleVelocity
For texture,maybe you mean textdraws,check this:

https://sampwiki.blast.hk/wiki/TextDrawCreate
https://sampwiki.blast.hk/wiki/TextDrawDestroy
https://sampwiki.blast.hk/wiki/TextDrawSetString

For the score use: GetPlayerScore with SetPlayerScore.