Posts: 285
Threads: 67
Joined: Apr 2014
Reputation:
0
@hello, I want to know how to save neon components when playerdis is that possible like when player use cmd:neon it save the neons, and am using satdm so don't worry.
Posts: 918
Threads: 125
Joined: Nov 2010
Quote:
Originally Posted by Madd92
Do you want to save the component for a certain player or vehicle id?
Either way if you just want to save it during runtime, use an array in your script and if you want it to be saved after a server restart, save it to a table (e.g. of the vehicles) in your database.
I hope this helps.
|
I don't think he understands this.
Start learning how to work with mysql/y_ini.
Learn how to work with objects.
Posts: 285
Threads: 67
Joined: Apr 2014
Reputation:
0
lol I don't use MySQL! SetPVarInt(playerid, "neon10", CreateObject(18650,0,0,0,0,0,0)); AttachObjectToVehicle(GetPVarInt(playerid, "neon10") this is my code so ?
Posts: 285
Threads: 67
Joined: Apr 2014
Reputation:
0
bump I need the code of saving an object onplayerdisconnect or whatever ..
Posts: 61
Threads: 1
Joined: Apr 2013
Reputation:
0
If you don't know how to use either d_ini, y_ini or MySQL then learn it. There are enough tutorials around here. Us posting code and you using it really won't help you at all.
Posts: 285
Threads: 67
Joined: Apr 2014
Reputation:
0
lol. I want to learn from codes that's the way which tought me how to script faty,
Posts: 285
Threads: 67
Joined: Apr 2014
Reputation:
0
bump I need the code to save it with ids.