View Single Post
ish12321
Veteran Member
Join Date: May 2016
Old 01-18-2018 , 12:12   Re: Auto-Mix (Pug) - By: p1Mp
Reply With Quote #884

Quote:
Originally Posted by iNdio View Post
  1. Entire plugin was colored.
  2. Added respawn on warm.
  3. Solved Spectator: Till the Random Captain will be chosen, „Players are always in game and sometimes they can't move”.
  4. Solved Votemap: When votemap ends plugin shows the good one voted & other 2 messages appear, then server change map to other. (non-voted).
  5. Before using this plugin, change the cvars in configs/amxx.cfg below!
  6. Only 1 unsolved thing, „Plugin called menu_display when item=MENU_EXIT”!
    Everything works fine even with this error, you'll get a lot of error lines but no crash, I can solve this but will not work properly the votemap again.
    So here is the last version till I solve "menu_exit", maybe never.
Line 4926 unreachable..

EDIT : Try this for cmdBack(id)

Code:
public cmdBack(id) {     if(is_user_admin(id))     {         if(cs_get_user_team(id) == CS_TEAM_SPECTATOR)         {             if(TerroristTeam[id] == true)             {                 cs_set_user_team(id, CS_TEAM_T);                 chat_color ( id, "!g%s %L", PREFIX, LANG_PLAYER,"SPEC_TT");             }             else             {                 cs_set_user_team(id, CS_TEAM_CT);                 chat_color ( id, "!g%s %L", PREFIX, LANG_PLAYER,"SPEC_CT");             }             ExecuteHam(Ham_CS_RoundRespawn, id);             cs_set_user_deaths(id, 0);         }         else         {             chat_color ( id, "!g%s %L", PREFIX, LANG_PLAYER,"SPEC_NON");         }     }     return PLUGIN_HANDLED; }
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here

Last edited by ish12321; 01-18-2018 at 12:27.
ish12321 is offline