UnregisterRemoteFunc
From Liberty Unleashed Wiki
This function unregister a remote function previus registered by RegisterRemoteFunc
Syntax
UnregisterRemoteFunc ( string Function )
Arguments
- Function - The function to unregister
Example
Unregister the function 'HelloWorld!' previus registered by RegisterRemoteFunc typing /unregister
function onPlayerCommand ( pPlayer, szCommand, szParams ) { switch ( szCommand ) { case "unregister": { UnregisterRemoteFunc ( "HelloWorld!" ); return; } } }
Notes
The function UnregisterRemoteFunc and call onPlayerCommand were used in in this example. More info about them in corresponding pages.