13.08.2010, 16:07
For the money, use GivePlayerMoney.
So if you wanted to take 10k from them, under the function where it sets their style, put this under there:
GivePlayerMoney(playerid, -10000);
We added a "-" since were taking money, don't add it like this GivePlayerMoney(playerid, 10000);
to give them money. And you can change the "10k" to whatever you want for the money.
EDIT: Also, heres a script which saves them, but it isn't dialog: https://sampforum.blast.hk/showthread.php?tid=132549
So if you wanted to take 10k from them, under the function where it sets their style, put this under there:
GivePlayerMoney(playerid, -10000);
We added a "-" since were taking money, don't add it like this GivePlayerMoney(playerid, 10000);
to give them money. And you can change the "10k" to whatever you want for the money.
EDIT: Also, heres a script which saves them, but it isn't dialog: https://sampforum.blast.hk/showthread.php?tid=132549