15.07.2012, 18:12
i found this but im not understanding it a great deal..
https://sampforum.blast.hk/showthread.php?tid=261584
Can anyone help? Ill add that im using zgaming roleplay GM script and What is setup in the main GM for cash is:
enum pInfo
{
pMoney,//Money
the stock for giving or taking money is:
stock GiveZaiatMoney(playerid, amount)
{
new string[128];
if(amount < 0) format(string, sizeof(string), "~r~-$%d", amount*-1);
else if(amount > 0) format(string, sizeof(string), "~g~+$%d", amount);
GameTextForPlayer(playerid, string, 3000, 1);
PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
PlayerInfo[playerid][pMoney] += amount;
return 1;
}
How can I make it so the money handling can be accessed through the vehicle filterscript. Thanks guys.
https://sampforum.blast.hk/showthread.php?tid=261584
Can anyone help? Ill add that im using zgaming roleplay GM script and What is setup in the main GM for cash is:
enum pInfo
{
pMoney,//Money
the stock for giving or taking money is:
stock GiveZaiatMoney(playerid, amount)
{
new string[128];
if(amount < 0) format(string, sizeof(string), "~r~-$%d", amount*-1);
else if(amount > 0) format(string, sizeof(string), "~g~+$%d", amount);
GameTextForPlayer(playerid, string, 3000, 1);
PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
PlayerInfo[playerid][pMoney] += amount;
return 1;
}
How can I make it so the money handling can be accessed through the vehicle filterscript. Thanks guys.