[Include] iBranch.inc [Useful Update Branches]
#9

You can use funcidx just incase some one don't want to use few callbacks, they won't require it to be included in their code.

I don't like your Ammo change method. Looping for all slots (12) in OnPlayerUpdate. Actually you can simply use GetPlayerAmmo and store it in a variable in OnPlayerSpawn and then make checks in OnPlayerUpdate.
And just a tip, use break once you have what you want in your loop.

pawn Code:
new PlayerUpdateInfo[MAX_PLAYERS][UpdateData];
new PlayerFPSInfo[MAX_PLAYERS][FPSData];
You can use static so that no one can edit it outside from include.

OnPlayerNameChange
OnPlayerFreezeStateChange
The most useless ones i will ever use

BTW, i thought this was something new than this!



E: For some reason, i don't see your hooking?
Reply


Messages In This Thread
iBranch.inc [Useful Update Branches] - by n0minal - 07.06.2015, 23:16
Re: iBranch.inc [Useful Update Branches] - by Pottus - 07.06.2015, 23:51
Re: iBranch.inc [Useful Update Branches] - by n0minal - 08.06.2015, 00:10
Re: iBranch.inc [Useful Update Branches] - by GM_KoDi - 08.06.2015, 00:47
Re: iBranch.inc [Useful Update Branches] - by n0minal - 08.06.2015, 01:03
Re: iBranch.inc [Useful Update Branches] - by SickAttack - 08.06.2015, 01:35
Re: iBranch.inc [Useful Update Branches] - by n0minal - 08.06.2015, 01:47
Re: iBranch.inc [Useful Update Branches] - by n0minal - 08.06.2015, 02:12
Re: iBranch.inc [Useful Update Branches] - by Gammix - 08.06.2015, 02:44
Re: iBranch.inc [Useful Update Branches] - by n0minal - 08.06.2015, 03:04

Forum Jump:


Users browsing this thread: 1 Guest(s)