View Single Post
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 09-29-2008 , 11:30   Re: Deathrun Manager v1.0 [29/08/2008]
Reply With Quote #4

1.
Code:
public client_connect(id)     set_user_info(id, "_vgui_menus", "0");
Instead, hook event "VGUIMenu" like you did "ShowMenu".


2.
Code:
public menuteam(id)     client_cmd(id, "slot2"); public menuclass(id)     client_cmd(id, "slot5");

Instead, block the other menus that you hooked with PLUGIN_HANDLED, and here, do:
Code:
public menuteam(id) {     engclient_cmd(id, "jointeam", "2");     engclient_cmd(id, "joinclass", "5");     return PLUGIN_HANDLED; public menuclass(id) {     engclient_cmd(id, "joinclass", "5");     return PLUGIN_HANDLED; }


3. Usually in DeathRun servers, the Terrorist is random for first round, then the Terrorist is the CT that kills the Terrorist. If no CT wins, then the Terrorist stays.
You should add a cvar to be random or to follow CT actions.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline