08.06.2016, 10:24
Hi,
I'am making anti cheat and i don't know how to define function and i can directly call to function because now i do
stock GivePlayerMoneyZ( playerid, ammount )
{
GivePlayerMoney( playerid, ammount );
MONEY[ playerid ] +=ammount;
}
And i need in every place replace GivePlayerMoney to GivePlayerMoneyZ, how to make that i could left GivePlayerMoney but this stock get called when i call this function
I'am making anti cheat and i don't know how to define function and i can directly call to function because now i do
stock GivePlayerMoneyZ( playerid, ammount )
{
GivePlayerMoney( playerid, ammount );
MONEY[ playerid ] +=ammount;
}
And i need in every place replace GivePlayerMoney to GivePlayerMoneyZ, how to make that i could left GivePlayerMoney but this stock get called when i call this function