Quote:
Originally Posted by BackStats
then in plugin2 I should change to:
PHP Code:
register_srvcmd( "topmap" , "TopMap" );
and use in plugin1:
PHP Code:
server_cmd ("topmap")
??
I should just put this in plugin1? it will execute the command?
|
If you want anyone to be able to type topmap, then you can use:
Code:
register_clcmd( "topmap", "TopMap" );
and execute it from the plugin:
Code:
server_cmd( "topmap" )
__________________