Problem
hey why i cant use commands like /bank or /zpstats with this code?
If i do mistake or forgot something please corrent it :oops: plugins_init() Code:
register_clcmd("say", "hook_say")Code:
public hook_say(id) |
Re: Problem
return PLUGIN_HANDLED_MAIN (second case)?
It's also if(get_user_flags(id) & VIPACCESS), not &&. |
Re: Problem
Quote:
I can use commands like /rank fine but new plugins like /bank dont work |
Re: Problem
So anyone can help me?
|
Re: Problem
Try this maybe it will work:
Code:
|
Re: Problem
Quote:
PS: I looked at your Human chat code :D |
Re: Problem
if (get_user_flags(id) && VIPACCES) should be if (get_user_flags(id) & VIPACCES) .
|
Re: Problem
Quote:
|
Re: Problem
The most simple way of chat messages is this:
PHP Code:
|
Re: Problem
Quote:
The bank is a other sub plugin not included in the chat plugin :S |
| All times are GMT -4. The time now is 00:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.