I need good idea for Veh System in Y_Ini (Save)
#1

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

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

Quote:
Originally Posted by Lynn
View Post
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.
Reply
#4

UP! Help please.
Reply
#5

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

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

I have successfully created the system.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)