Level in [TAB] - 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: Level in [TAB] (
/showthread.php?tid=302168)
Level in [TAB] -
FabianoC - 07.12.2011
How to change your level in TAB, by scripting cmd (pawno)
Re: Level in [TAB] -
Calgon - 07.12.2011
The
SetPlayerScore function is used to set a player's score in the tab menu.
Re: Level in [TAB] -
FabianoC - 07.12.2011
Quote:
Originally Posted by Calgon
The SetPlayerScore function is used to set a player's score in the tab menu.
|
Thank you, will take a look if that works!
Re: Level in [TAB] -
FabianoC - 07.12.2011
and how do I save that score on exit? (like if i would relog)?
Re: Level in [TAB] -
Andregood - 07.12.2011
You save it on; OnPlayerDisconnect or simply make a timer that does it.
For an example:
Код:
ini_setInteger(file, "Score", PlayerInfo[playerid][pScore]);