SA-MP Forums Archive
Help making a plane ownership system. - 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 making a plane ownership system. (/showthread.php?tid=189471)



.. - Haydz - 12.11.2010

......


Re: Help making a plane ownership system. - ••• ĤБĶБM ••• - 12.11.2010

Create a Dini INT that actually saves your plane model, and when the player connects, load he's plane - And OnPlayerStateChange, just add that if player's model and the keys are the same of the vehicle or not, if the same, let the player enter it - If not, remove the player from the vehicle.

That's it, just script it. It's really really really easy!


Re: Help making a plane ownership system. - Haydz - 12.11.2010

Quote:
Originally Posted by ••• ĤБĶБM •••
Посмотреть сообщение
Create a Dini INT that actually saves your plane model, and when the player connects, load he's plane - And OnPlayerStateChange, just add that if player's model and the keys are the same of the vehicle or not, if the same, let the player enter it - If not, remove the player from the vehicle.

That's it, just script it. It's really really really easy!
Not if you're a noob ahwell guess i'll have to try your way thanks alot man.


Re: Help making a plane ownership system. - Devon_Nelson - 12.08.2011

^ ha.. Haydz i feel the same lmao.. just started like 2-5 weeks ago..