Raised This Month: $ Target: $400
 0% 

Vanished Command....


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sanaell
Senior Member
Join Date: May 2004
Location: SamutPrakarn Thailand
Old 06-07-2004 , 21:41   Vanished Command....
Reply With Quote #1

it s mine init ....
Code:
public plugin_init(){    register_plugin(STB_PLUGIN,STB_VERSION,STB_NAME)    register_cvar("stbvar","1")    register_clcmd("say /stbme","stb_me",0,msgs[0])    register_clcmd("say_team /stbme","stb_me",0,msgs[0])    register_clcmd("say /stball","stb_all",ADMIN_STB,msgs[1])    register_clcmd("say_team /stball","stb_all",ADMIN_STB,msgs[1])    register_concmd("stb_t","stb_force",ADMIN_STB,msgs[2])    register_concmd("stb_ct","stb_force",ADMIN_STB,msgs[3])    format(g_logFileName, 255, "addons/amxx/logs/stb.log");    if(file_exists(g_logFileName) == 1)     get_time("addons/amxx/logs/stb.log",g_logFileName,255)    else write_file(g_logFileName,"")    register_event("ResetHUD","reset_hud","b")    return PLUGIN_CONTINUE }


all are defined
Code:
#define ADMIN_STB ADMIN_RCON new STB_PLUGI........
etc....

amx_help.... no command stb_..... etc...
like the plugin isnt here

but Cvar is registered and plugin is running
someone have a clue ?
__________________
[email protected]
The Source of Pain is the Pain of Source
sanaell is offline
Send a message via MSN to sanaell
Peli
Veteran Member
Join Date: Mar 2004
Location: San Diego, CA
Old 06-07-2004 , 21:45  
Reply With Quote #2

Change :
Code:
public plugin_init(){    register_plugin(STB_PLUGIN,STB_VERSION,STB_NAME)
To :
Code:
public plugin_init(){    register_plugin("STB_PLUGIN","Version","sanaell")
Above change :
Code:
"Version"
To the version of your plugin.
Peli is offline
Send a message via MSN to Peli
sanaell
Senior Member
Join Date: May 2004
Location: SamutPrakarn Thailand
Old 06-08-2004 , 03:07  
Reply With Quote #3

Quote:
Originally Posted by Peli
Change :
Code:
public plugin_init(){    register_plugin(STB_PLUGIN,STB_VERSION,STB_NAME)
To :
Code:
public plugin_init(){    register_plugin("STB_PLUGIN","Version","sanaell")
Above change :
Code:
"Version"
To the version of your plugin.

That not that

when i type amx_plugcfg list
i see the plugin running
(with version ..... )
__________________
[email protected]
The Source of Pain is the Pain of Source
sanaell is offline
Send a message via MSN to sanaell
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 06-08-2004 , 03:11  
Reply With Quote #4

Make sure the client doing amx_help has ADMIN_STB access.
Johnny got his gun is offline
sanaell
Senior Member
Join Date: May 2004
Location: SamutPrakarn Thailand
Old 06-08-2004 , 03:16  
Reply With Quote #5

when i type amx_help

i have all command of amx, but none of that plugin
__________________
[email protected]
The Source of Pain is the Pain of Source
sanaell is offline
Send a message via MSN to sanaell
sanaell
Senior Member
Join Date: May 2004
Location: SamutPrakarn Thailand
Old 06-08-2004 , 03:22  
Reply With Quote #6

JUST BECAUSE STB_ME function aren t here !!!!!


now it s working
__________________
[email protected]
The Source of Pain is the Pain of Source
sanaell is offline
Send a message via MSN to sanaell
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 06-08-2004 , 03:28  
Reply With Quote #7

If you would've posted the whole code needed it would be easier to help.
Johnny got his gun is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode