SlashCo Wiki

Player:ItemFunction

 any Player:ItemFunction( string funcName, any ... )

Description

Calls the given callback function of the player's primary item, checking their active effects first via Player:ItemFunctionInternal.

Arguments

1string funcName

Name of the callback function to call.

2any ...

Additional arguments passed to the callback.

Returns

1any ...

The return values of the called callback.