Define function
#2

You don't really need to do that, you can just replace them all at once by pressing ctrl + H.

But anyway;

PHP код:
#if defined _ALS_GivePlayerMoney
    #undef GivePlayerMoney
#else
    #define _ALS_GivePlayerMoney
#endif
#define GivePlayerMoney GivePlayerMoneyZ
// stock isn't needed for this
GivePlayerMoneyZplayeridammount )
{
    
GivePlayerMoneyplayeridammount );
    
MONEYplayerid ] +=ammount;

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)