[FUNC] GetFreeVehicleSeats
#1

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
Reply
#2

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.
Reply
#3

All requests go in Script Request Thread
Reply
#4

Yes, but i want to make it on my own, with a little help of the people here ofcourse :P
Reply
#5

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
Reply
#6

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.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)