Object - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Object (
/showthread.php?tid=609098)
Object -
JesusAldape15 - 08.06.2016
ЎHi All!
I want know how can save in playerdata any object. Example:
User create some object (CreateObject) and this object can save and load when player connect.
someone knows how could do this?
Sorry for my bad english i used ****** translate.
Re: Object - SecDet - 08.06.2016
With MySQL database. Save object with these param:
Object ID
X, Y and Z coords
And load by CreateObject();
Respuesta: Re: Object -
JesusAldape15 - 08.06.2016
Quote:
Originally Posted by SecDet
With MySQL database. Save object with these param:
Object ID
X, Y and Z coords
And load by CreateObject();
|
I know how to save an object but no more.
Example: User create 10 object and i want save in you PlayerData & when user connect load their object. He can create and delete their object.
You can give me any example?
Re: Respuesta: Re: Object - SecDet - 09.06.2016
Quote:
Originally Posted by JesusAldape15
I know how to save an object but no more.
Example: User create 10 object and i want save in you PlayerData & when user connect load their object. He can create and delete their object.
You can give me any example?
|
Again, you need to load the object (it's all about the data)
Learn how the MySQL from other gamemodes.
And to control objects, like for example delete and create - you can load the player's nickname of the MySQL database, and then check out.
Respuesta: Re: Respuesta: Re: Object -
JesusAldape15 - 09.06.2016
Quote:
Originally Posted by SecDet
Again, you need to load the object (it's all about the data)
Learn how the MySQL from other gamemodes.
And to control objects, like for example delete and create - you can load the player's nickname of the MySQL database, and then check out.
|
Solved! Thank You Bro!
Re: Respuesta: Re: Respuesta: Re: Object - SecDet - 11.06.2016
Quote:
Originally Posted by JesusAldape15
Solved! Thank You Bro!
|
Happy to help. If not difficult +rep.