Help with SetPlayerAttachedObject
#1

I there anyway i can save the SetPlayerAttachedObject after player log off from the server and login still have the SetPlayerAttachedObject?
Reply
#2

I think you could save it to your MySQL or what saving system you have. save the modelid, positions and use them to be setted on the player when he logs on.
Don't know if that works, just a guess
Reply
#3

Yes, if you've scripted a roleplay mode, then you should know you can do this all with variables.
Reply
#4

Yes you can.Just look like when you save the score,edit the variables (like position x,y,z - angle etc and modelid).
Reply
#5

Quote:
Originally Posted by Logitech90
Посмотреть сообщение
Yes you can.Just look like when you save the score,edit the variables (like position x,y,z - angle etc and modelid).
Helpful.


You'll need to store all the data (index, bone, model and offsets) in variables then write them to file (y_ini/dini/whatever) when the player disconnects.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)