i need help in XP - 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: i need help in XP (
/showthread.php?tid=353262)
i need help in XP -
kings24 - 22.06.2012
How do you save XP?
Re: i need help in XP -
Kindred - 22.06.2012
What file saving system are you using? Plus, you need to tell us your variable and shit.
A five word question is not going to cut it.
Re: i need help in XP -
Ranama - 22.06.2012
Quote:
Originally Posted by kings24
How do you save XP?
|
You make a variable/array with Xp, and on player dissconnect you save it to (Yini mysql or whatever you are using) and OnPlayerConnect you load it into the variable/array.
Re : i need help in XP -
kings24 - 22.06.2012
I mean XP Experience?
Example:
http://pastebin.com/nPMr8B9z
Re: Re : i need help in XP -
Ranama - 22.06.2012
Quote:
Originally Posted by kings24
|
Yes, that's what we have expained, I don't understand why you link a gamemode with like 2500 rows crateobejct and 500 rows script, anyways i don't have time to read all that.
You will create a XP script with the things i expained earlier. Expain more what you want if you don't understand.
Re : i need help in XP -
kings24 - 22.06.2012
I want to save the only way XP?
Re: i need help in XP -
leonardo1434 - 22.06.2012
Try start yourself a Gm from scratch, it will solve all your copyrights issues + you will learn something.
Re : i need help in XP -
kings24 - 01.07.2012
Is there someone else to Assistant?
Re: i need help in XP -
.Wicked - 01.07.2012
All above me have right.