I need good idea for Veh System in Y_Ini (Save) -
Syncro - 11.05.2014
Hi!
I'm developing a RP GM from scratch, but not having an idea for create a vehicle system, I've created a system bugged, and I deleted it (1000 strings!!!!).
Now I need a good idea for a efficent vehicle system.
I need a system that save the player vehicles at unlog and destroy this.
If you do not understand what I wrote, tell me, I'm writing about the translator!
Re: I need good idea for Veh System in Y_Ini (Save) -
Lynn - 12.05.2014
Create a DM Script from scratch, before creating a RP Script.
As if you can't create a vehicle system, you may have bit more then you can chew.
Re: I need good idea for Veh System in Y_Ini (Save) -
Syncro - 12.05.2014
Quote:
Originally Posted by Lynn
Create a DM Script from scratch, before creating a RP Script.
As if you can't create a vehicle system, you may have bit more then you can chew.
|
I can create a normal vehicle system, but for that GM I need a particular vehicle system with a function that destroy the player vehicle when he unlog from server.
Please, avoid that answers because my question isn't "RP" or "DM"! I can't leave my project after 3000 lines, I'm not stupid and I'll not leave a project for a vehicle system. I need a simple idea.
Re: I need good idea for Veh System in Y_Ini (Save) -
Syncro - 12.05.2014
UP! Help please.
Re: I need good idea for Veh System in Y_Ini (Save) -
nmader - 12.05.2014
If you are looking for efficient, make a separate file for each vehicle and just determine who's it is via "OwnerName" or something. That way you can sell it to someone else without having to transfer over countless strings.
Re : I need good idea for Veh System in Y_Ini (Save) -
Ramoboss - 12.05.2014
you can try a table
#define MAX_CARS 200 //FOR EXEMPLE
new PlayerCar[MAX_CARS];
and do
PlayerCar[MAX_CARS] == CreateVehicle...
when the player buy/create his car.
i let you guess the following of the code
Re: I need good idea for Veh System in Y_Ini (Save) -
Syncro - 12.05.2014
I have successfully created the system.