SetPlayerMoney
#1

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?
Reply
#2

https://sampwiki.blast.hk/wiki/SetPlayerMoney

Add this to your Script:

pawn Код:
stock SetPlayerMoney(playerid, money)
{
    ResetPlayerMoney(playerid);
    GivePlayerMoney(playerid, money);
}
Reply
#3

Well thank you,

but I don't think that is the way it should word :S
Reply
#4

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. ".
Reply
#5

Oops, sorry.

Happy new year
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)