AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help with chat commands (https://forums.alliedmods.net/showthread.php?t=320073)

SpikeRed 12-03-2019 05:02

Help with chat commands
 
Hello i have added my plugin on my server and i test plugin on my offline serrer on my pc and all functions on plugin are working now the problem is when i put on my online server plugin working but chat commands like /box /change /mode not working i dont know why????

sma:
https://ctxt.io/2/AABAPD9JFA

georgik57 12-03-2019 18:53

Re: Help with chat commands
 
If it handles SayText messages/chat, either return PLUGIN_HANDLED_MAIN instead of PLUGIN_HANDLED inside the hooked function or list the plugin name last in your .ini file.

redivcram 12-03-2019 19:30

Re: Help with chat commands
 
That link is broken. Either use pastebin, attach the .sma, or post your code between [PHP] tags (best one).

SpikeRed 12-04-2019 19:09

Re: Help with chat commands
 
Quote:

Originally Posted by georgik57 (Post 2675563)
If it handles SayText messages/chat, either return PLUGIN_HANDLED_MAIN instead of PLUGIN_HANDLED inside the hooked function or list the plugin name last in your .ini file.

Thank you that was the problem :D


All times are GMT -4. The time now is 02:42.

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