11.02.2014, 14:58
Check for
You can do it like this
Example: GivePlayerMoney(playerid, ammount*10)
will give ammount of mats x 10 which means if you /sellmats 10 you get 100$
pawn Код:
OfferMatsPrice
pawn Код:
GivePlayerMoney(playerid, amount*X)
PlayerInfo[playerid][pMats] -= amount;
will give ammount of mats x 10 which means if you /sellmats 10 you get 100$