Y_Ini problem
#1

Ok, so i was editing a CG:RP Script for my server. And i decided to remove the vehicle system of The CG:RP, and download MadeMan's AVS one, i have this one problem, i couldn't combine it with the script, cause CG:RP script uses an anti money cheat which is this:
Код:
stock GiveMoney(playerid, money)
{
	PlayerInfo[playerid][pCash] += money;
	ResetPlayerMoney(playerid);
	GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]);
	return 1;
}
What i was willing to do is just use his filterscript, but just change the code to GiveMoney, but can't cause its in a separate gamemode. I need help.
Reply
#2

up! .. .......
Reply
#3

That can be easily done by using this function
Use it in your FilterScript,
It'll call the function of your Gamemode ( only if it's loaded ).
Код:
GiveMoney(playerid,amount)
{
	CallRemoteFunction("GiveMoney", "ii", playerid , amount);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)