[FUNC] GetFreeVehicleSeats - 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: [FUNC] GetFreeVehicleSeats (
/showthread.php?tid=138308)
[FUNC] GetFreeVehicleSeats -
sean5874 - 01.04.2010
Hello,
I wanna make a script to make it posibble to carry more passengers on a SF tram. I figured some things out and a realise that i need a function like this:
GetFreeVehicleSeats(vehicleid, freeseat);
- vehicleid: the id to check the seats of (in my case the SF Tram)
- freeseats: A value to store the free seats on.
Returns the free vehicle seat(s)
If someone can make this for me i can use PutPlayerInVehicle to put the player in the tram.
Can someone make this?? I dont know how.
Greetz,
sean5874
Re: [FUNC] GetFreeVehicleSeats -
Calgon - 01.04.2010
You couldn't return more than 1 ID into 1 integer, you could into a string, but you'd need to explode the values into other strings/ints.
Re: [FUNC] GetFreeVehicleSeats -
Torran - 01.04.2010
All requests go in Script Request Thread
Re: [FUNC] GetFreeVehicleSeats -
sean5874 - 01.04.2010
Yes, but i want to make it on my own, with a little help of the people here ofcourse :P
Re: [FUNC] GetFreeVehicleSeats -
Torran - 01.04.2010
Quote:
Originally Posted by sean5874
If someone can make this for me i can use PutPlayerInVehicle to put the player in the tram.
Can someone make this?? I dont know how.
|
Dosent look like you want people to help you
Re: [FUNC] GetFreeVehicleSeats -
Calgon - 01.04.2010
Quote:
Originally Posted by Joe Torran C
Quote:
Originally Posted by sean5874
If someone can make this for me i can use PutPlayerInVehicle to put the player in the tram.
Can someone make this?? I dont know how.
|
Dosent look like you want people to help you
|
Doesn't look like you're spamming does it?
Post in the Scripts Request Thread, and someone (maybe me) will reply with code to help you.