chat /spec command crashing server help
/* Plugin generated by AMXX-Studio */
#include <amxmodx> #include <amxmisc> #include <cstrike> #define PLUGIN "Spec All" #define VERSION "1.0.0" #define AUTHOR "sss" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd("say /spec", "cmd_spec") } public cmd_spec(id) { new players[32], pnum, tempid get_players(players, pnum) for( new i; i<pnum; i++ ) { tempid = players[i] user_kill(tempid) cs_set_user_team(tempid, CS_TEAM_SPECTATOR) } sometimes when i use /spec command my server crashes why?can somebody help me ?pls thank you |
Re: chat /spec command crashing server help
Why are you sending everyone to Spec with that command? That is probably the reason there
|
Re: chat /spec command crashing server help
i use this on my war server to put players to spec!
|
Re: chat /spec command crashing server help
Can't you just use amx_transfer?
|
Re: chat /spec command crashing server help
no
the thing is that we are playing gather mix 5versus5 and first 2 of us choose the teammates and the others must be spec for this ! cand somebody fix this plugin or give me something else for spec thank you |
Re: chat /spec command crashing server help
Try
PHP Code:
|
| All times are GMT -4. The time now is 05:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.