SetPlayerMoney - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SetPlayerMoney (
/showthread.php?tid=204733)
SetPlayerMoney -
Anteino - 30.12.2010
Hi guys,
the pawn command "SetPlayerMoney" doesn't work with me, it says invalid function..
I'm really sure this commands exists, but I don't know which headers should be included?
Re: SetPlayerMoney -
Jeffry - 30.12.2010
https://sampwiki.blast.hk/wiki/SetPlayerMoney
Add this to your Script:
pawn Код:
stock SetPlayerMoney(playerid, money)
{
ResetPlayerMoney(playerid);
GivePlayerMoney(playerid, money);
}
Re: SetPlayerMoney -
Anteino - 30.12.2010
Well thank you,
but I don't think that is the way it should word :S
Re: SetPlayerMoney -
scripter1 - 30.12.2010
Quote:
Originally Posted by Anteino
Well thank you,
but I don't think that is the way it should word :S
|
If you would have clicked the link provided, it clearly says on the top "Note: This is not a native SA:MP function. ".
Re: SetPlayerMoney -
Anteino - 30.12.2010
Oops, sorry.
Happy new year