[HELP] Register_clcmd not working O_o?
|
Re: [HELP] Register_clcmd not working O_o?
"say " -> "say"
"team_say " -> "say_team" |
Re: [HELP] Register_clcmd not working O_o?
not working :<
|
Re: [HELP] Register_clcmd not working O_o?
Works for me. You MUST NOT include spaces. "say" and "say_team". NOT "say " and "say_team "
|
Re: [HELP] Register_clcmd not working O_o?
First of all, thanks for you'r reply.
I know.. i feel stupid that i did that. (also with team_say -> say_team) but I can't understand why it's still not working for me. My other plugins that use also register_clcmd("say", "func") works fine.. what can make it not work? my plugin is much bigger than what I posted here.. I there something else that can disturb? |
Re: [HELP] Register_clcmd not working O_o?
register_clcmd("say", "on_ChatSay")
register_clcmd("say_team", "on_ChatSay") It's fine, so there are no reason to not work now. Make sure you compile the right plugin and you have replaced the compiled plugin. |
Re: [HELP] Register_clcmd not working O_o?
It so wierd.. I'm working with amxx scripting for 8 moths +- and I never seen something like that O_O.
I tried to increase the version and it worked.. i typed amxx plugins and the version was 1.1 and no 1.0. that's mean i'm uploading and compiling the right plugin.. I don't know what to do.. and I don't know what to ask you :> because like you said it seems fine... S: Very wierd.. |
Re: [HELP] Register_clcmd not working O_o?
Post the whole code, I will test.
|
Re: [HELP] Register_clcmd not working O_o?
thanks again for everything..
|
Re: [HELP] Register_clcmd not working O_o?
The reason is simple.
The TeamScore function is defined as "on_TeamScore" but you have written "public on_TeamScored", it means that the whole plugin won't work because of that. Next time you should see first when you load the server the output of the console. You would have seen something like : Quote:
|
| All times are GMT -4. The time now is 18:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.