Server Side Money Issue
#1

So i'm trying to use
SlashQ's Dynamic Dealership System!
http://pastebin.com/raw.php?i=nY9HU9LP

with the zGaming Roleplay game mode but whenever you buy a car it give you back the money i assume due to server side money but i dont know how to change the filter script to the same money,

Код:
    if(!strcmp(options, "money", true, 5))
    	{
            if(PlayerInfo[playerid][pMoney] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you.");
            FamInfo[idx][fMoney] += amount;
			GiveZaiatMoney(playerid, -amount);
            format(string, sizeof(string), "* %s has deposited $%d in their family safe.", RPN(playerid), amount);
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
        }
is see that around so i tried to switch GivePlayerMoney to Zaiat in the Filterscript but just comes up with error's saying that Zaitmoney is not defined, Could some one help me out with this.


More money related lines.

Код:
	

// User settings
enum pInfo
{
	// Temp Values
	pLoggedIn,
	pSpawn,
	// Permanent Values
	pIP[16],
	pOwner,
	pLevel,
	pMinutes,
	pHours,
	pGender,
	pAge,
	pMoney,
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)