[Include] dFunc - Simple Useful Functions
#2

Just a few tips on naming your functions:

- Don't use abbreviations unless absolutely required (SendMessAdmins and GetArm).
- Make sure your function names describe fully what they do: GiveHealth - Give health to what? GivePlayerHealth.
- IsPlayerAim - ing..
- Fuck(playerid, reason) - nice.

You don't actually explain what any of these do. Albeit the majority of them are self-explanatory..

Also, there's no such thing as 'stocks'. People say that because of the 'stock' keyword. They are FUNCTIONS, that use the stock keyword.

IsPlayerInZone(playerid) - what zone? There's only a playerid parameter!

GetPlayerIP - This already exists..?

SendMessAdmins - I assume this is for RCON? Nobody uses RCON really..

But yeah, nice effort.
Reply


Messages In This Thread
dFunc - Simple Useful Functions - by dEcooR - 19.06.2013, 14:07
Re: dFunc - Simple Useful Functions - by MP2 - 19.06.2013, 14:26
Re: dFunc - Simple Useful Functions - by dEcooR - 19.06.2013, 14:48
Re: dFunc - Simple Useful Functions - by RACGaming - 19.06.2013, 14:52
Re: dFunc - Simple Useful Functions - by Lordzy - 19.06.2013, 15:03
Re: dFunc - Simple Useful Functions - by dEcooR - 19.06.2013, 15:21
Re: dFunc - Simple Useful Functions - by dEcooR - 19.06.2013, 15:24
Re: dFunc - Simple Useful Functions - by MP2 - 19.06.2013, 15:28

Forum Jump:


Users browsing this thread: 1 Guest(s)