/me to be auto executed on dead or if you don't die at round end
Hello can anyone make the command "/me" to be automatically executed when you die and if you don't die this round and you are alive to be executed at the round end, when the server says "Terrorist's/Ct's Win!" I have two plugins maybe they will be of some help. And i'm using Statsx_shell not the normal statsx plugin for CS if you can edit that too.
This plugin will execute "/me" at the end of the round: Code:
#include <amxmodx> Code:
#include <amxmodx> |
Re: /me to be auto executed on dead or if you don't die at round end
Edit the 2 first lines to fit your needs.
PHP Code:
PHP Code:
|
Re: /me to be auto executed on dead or if you don't die at round end
There is one problem i have removed those two register_clcmd's so that the players can't call the function. I want it to be automatically called from the server and when i removed them your plugin stopped working.. so apparently your plugin is using them, can you make the plugin call the /me function by some other way i have used the second plugin that you gave me and he was working fine, there was just this problem..
register_clcmd("say /me", "cmdMe", 0, "- display current round stats (chat)") register_clcmd("say_team /me", "cmdMe", 0, "- display current round stats (chat)") |
Re: /me to be auto executed on dead or if you don't die at round end
Use the 1st code then, not the 2nd one.
|
Re: /me to be auto executed on dead or if you don't die at round end
I tried it but it's not working.. how must i change this i have tried without changing it and i tried changing it like this:
#define PLUGIN_NAME_TO_CALL "Statsx_shell" but it doesn't work... ? |
Re: /me to be auto executed on dead or if you don't die at round end
You should put the name of the plugin as it is defined in register_plugin(
|
Re: /me to be auto executed on dead or if you don't die at round end
Yes it's working now, but when you die you have those two options:
Killed by nick etc you hit killer etc (And i want the option to be here, but now it's over those two options, what is changed in this plugin ?) |
| All times are GMT -4. The time now is 00:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.