i need a help to connect it
#1

Код:
 if(GetPlayerCash(playerid) < LoInfo[ix][loPrice]) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to buy this house.");
					GivePlayerCash(playerid, -LoInfo[ix][loPrice]);
i have made this in fs how to connect the gamemode money with the fs money ?? please help me out here
Reply
#2

Код:
forward GetPlayerCash(playerid);
public GetPlayerCash(playerid)
{
    return Variable[playerid][Cash];
}
In your filterscript:
Код:
CallRemoteFunction("GetPlayerCash", "i", playerid);
Or make a function out of that (either a macro or an actual function)
Reply
#3

https://sampforum.blast.hk/showthread.php?tid=151076
Reply
#4

its not working brother
Reply
#5

can any one give me those codes or function please?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)