Define function
#1

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
Reply


Messages In This Thread
Define function - by ScIrUsna - 08.06.2016, 10:24
Re: Define function - by Sjn - 08.06.2016, 10:44
Re: Define function - by ScIrUsna - 09.06.2016, 11:37

Forum Jump:


Users browsing this thread: 1 Guest(s)