Need Help with toy Please Master :) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need Help with toy Please Master :) (
/showthread.php?tid=464690)
Need Help with toy Please Master :) -
Ivander - 18.09.2013
Well Yea, Hi all. I got a Toy System 0.3e
That help to set the position of your toy easier, but the problem is that When you save your toy position and when you write /wat (wear all toy on NGG Basic Script ) That wear all the toys, the toys are on there saved position.
Wehn you relog and go /wat again, the toys are spawned on the default position I mean the 0, 0, 0 of the Head Bone, can some one help me on how to save those position ??
Re: Need Help with toy Please Master :) -
Grimrandomer - 18.09.2013
You will want to adapt your current save system (mysql / files) and simply save the position/size/rotation when they are finished editing, then load it when they login.
I use a MySql db, a table of "toys" with an owner and the toys info, when a player logs in I get their data from the db
Re: Need Help with toy Please Master :) -
Ivander - 18.09.2013
Quote:
Originally Posted by Grimrandomer
You will want to adapt your current save system (mysql / files) and simply save the position/size/rotation when they are finished editing, then load it when they login.
I use a MySql db, a table of "toys" with an owner and the toys info, when a player logs in I get their data from the db
|
How to use Mysql for saving toy ? any tutorials please.
Re: Need Help with toy Please Master :) -
Ivander - 19.09.2013
Anyone Help please REP+
Re: Need Help with toy Please Master :) -
viveka27 - 29.09.2013
You Must Convert User System To MySQL