Easy question - 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: Easy question (
/showthread.php?tid=541375)
Easy question -
Shank - 11.10.2014
I've been playing around a bit but haven't been able to figure it out.
sorry im bad at scripting
Re: Easy question -
Eth - 11.10.2014
use GivePlayerMoney
Re: Easy question -
Shank - 11.10.2014
Quote:
Originally Posted by Eth
use GivePlayerMoney
|
how do i hook it up with my enums though
Re: Easy question -
XGreen - 11.10.2014
Show Us your enum.
Re: Easy question -
Shank - 11.10.2014
These are my enums.
Код HTML:
enum pInfo
{
pMoney,
pBankMoney,
pSavings,
};
Re: Easy question -
M0HAMMAD - 11.10.2014
In the string user GetPlayerMoney(playerid) and To set money Use this :
pawn Код:
GivePlayerMoney(playerid,10000);
Re: Easy question -
dominik523 - 11.10.2014
Quote:
Originally Posted by M0HAMMAD
In the string user GetPlayerMoney(playerid) and To set money Use this :
pawn Код:
GivePlayerMoney(playerid,10000);
|
GivePlayerMoney(playerid, PlayerInfo[playerid][pMoney]);