View Single Post
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 09-20-2008 , 18:31   Re: Help GunGame Respawn problem
Reply With Quote #6

GunGame hooks the joinclass command (when you select your player model) and then tries to throw you into the game. It looks like VEN's plugin forces the user to do that, skipping the part where AMXX can intercept it (englient_cmd instead of client_cmd).

First try setting ajc_class to 0, which should fix it if that really is the problem. If that turns out to be true, I'll try to find a different way to respawn late-joiners.

EDIT: You could also try this. Go to the force_team_join function at the bottom of the plugin, and near the end, change this line:

Code:
engclient_cmd(id, joinclass, class)

to this:

Code:
client_cmd(id, "%s %i", joinclass, class)

The only downside is that potentially (maybe) someone could alias their joinclass command, so that this function has no effect on them. But, the end result is that they simply get to pick their model.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS

Last edited by XxAvalanchexX; 09-20-2008 at 18:47.
XxAvalanchexX is offline