[HB]Billaboi needz help for his sricpt [rep+] - 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: [HB]Billaboi needz help for his sricpt [rep+] (
/showthread.php?tid=334885)
[HB]Billaboi needz help for his sricpt [rep+] -
[HB]Billaboi - 16.04.2012
hey i am asking for a we help i make my register system with no failz
but how do i make it save players money and scores i need help please
i know how to make dialog and rest but dont know how to make it save i just need that so i can make my next post of it and update my server
Re: [HB]Billaboi needz help for his sricpt [rep+] -
[XS]Scarface - 16.04.2012
i don't know what variable your using but it's simple just add
pawn Код:
public OnPlayerDisconnect
{
new money[9], score[9];
GetPlayerMoney(playerid, money);
//and just set it as you like in your variable using any writing system
//i didn't do the right code but it's just an idea if you know coding!
}
Re: [HB]Billaboi needz help for his sricpt [rep+] -
Deathlane - 16.04.2012
Quote:
Originally Posted by [XS]Scarface
i don't know what variable your using but it's simple just add
pawn Код:
public OnPlayerDisconnect { new money[9], score[9]; GetPlayerMoney(playerid, money); //and just set it as you like in your variable using any writing system //i didn't do the right code but it's just an idea if you know coding! }
|
LoL you forgot:
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
new money[9], score[9];
GetPlayerMoney(playerid, Money);
GetPlayerScore(playerid, Score);
return 1;
}
OT: SORRY I DONT KNOW HOW