Define this please! Briefly
public plugin_init() {
RegisterHam(Ham_Spawn, "player", "fwHamPlayerSpawnPost", 1) } HAM_SPAWN ??? PLAYER ???? FWHAMPLAYERSPAWNPOST ???? 1 ???? |
Re: Define this please! Briefly
hamsandwich is the module that your using to "hook" or "catch" the event when the player spawns.
PHP Code:
"player" - This is the entity which you want to hook the event for. You've hooked it for players. "fwHamPlayerSpawnPost" - This is the name that you've given to the function which will be "called" or "executed" when your event takes place. 1 - This means that you've chosen to hook or catch the event just after it occurs ( Also known as "Post" ). If you were to put a 0, then it would be before the event occurs ( Also known as "Pre" ). In this scenario you would not do that, because you can not do anything to a player while they're dead ( Only in advanced circumstances ). |
Re: Define this please! Briefly
I wonder why you didn't ask these:
PLUGIN ???? PLUGIN_INIT ???? REGISTERHAM ???? |
Re: Define this please! Briefly
Quote:
|
Re: Define this please! Briefly
Quote:
|
| All times are GMT -4. The time now is 00:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.