Dynamic Faction cars
#1

Does anyone know how I could make a command like /parkfcar and it would save the cars position as a faction car that only members of that faction can enter I have a faction system sorta with ranks and factionids
Reply
#2

You need to make this post inside of 'Script Requests' since you haven't even attempted it.
Reply
#3

Can you at least tell me the best way to go across creating dynamic faction cars?
Reply
#4

Creat an array
pawn Код:
new fvehcile[fid][MAX_VEHICLES];
//fid is ur define for the faction
Then just abasing the id of the faction and the car u want them to have, and upon a player entering it, just stop them if not apart from the faction

The position should be saved under a variable with the vehicleid on it.
Reply
#5

can someone give me an example on how to do that
Reply
#6

The TSYS system in my signature is the most advanced vehicle management system (to the best of my knowledge) that's been released and it does what you want but it's actually part of a much larger system and may actually do far far more than you would want. What you are after is really pretty complicated but is doable. for an example of how to use the tsys system check out the rpg 5.0 link in my sig. It will even save vehicle parking positions over a server reset etc as it loads and saves the vehicle information from/to files.
Reply
#7

anyway to do it without TSYS
Reply
#8

bump
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)