Hooks

To attach a hook:

server.hook(<name of the hook>,<a unique name>,<function callback>)

The unique name is there to prevent hooking the same hook multiple times. You just make one up.

List of hooks (Only shows IMPLEMENTED hooks):

HookParametersDescription
onDisablenoneFires off when the script gets disabled
onPlayerJoinPlayerFires off whenever a player join with that player as parameter
onPlayerLeavePlayerFires off whenever a player leaves with that player as parameter

Comments

Posts Quoted:
Reply
Clear All Quotes