Object
#1

Ў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.
Reply
#2

With MySQL database. Save object with these param:

Object ID
X, Y and Z coords

And load by CreateObject();
Reply
#3

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

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

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

Quote:
Originally Posted by JesusAldape15
Посмотреть сообщение
Solved! Thank You Bro!
Happy to help. If not difficult +rep.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)