/sellmats command problem
#4

Check for

pawn Код:
OfferMatsPrice
You can do it like this

pawn Код:
GivePlayerMoney(playerid, amount*X)
PlayerInfo[playerid][pMats] -= amount;
Example: GivePlayerMoney(playerid, ammount*10)
will give ammount of mats x 10 which means if you /sellmats 10 you get 100$
Reply


Messages In This Thread
/sellmats command problem - by Phil_Cutcliffe - 11.02.2014, 14:37
Re: /sellmats command problem - by Don_Cage - 11.02.2014, 14:42
Re: /sellmats command problem - by Phil_Cutcliffe - 11.02.2014, 14:45
Re: /sellmats command problem - by Don_Cage - 11.02.2014, 14:58
Re: /sellmats command problem - by Phil_Cutcliffe - 11.02.2014, 17:24

Forum Jump:


Users browsing this thread: 1 Guest(s)