interesting idea.
Code:
//lines 171-173
new Names[2][33]
get_user_name(id,Names[0],32)
get_user_name(Index,Names[1],32)
//lines 185-186
new Name[33]
get_user_name(id,Name,32)
Code:
//instead of setting to 100.0, how about getting their max_health and setting it to that (some mods don't have 100.0 as the max health)
set_pev(id,pev_health,100.0)
set_pev(Index,pev_health,100.0)
Something also seems wrong with the PreThink and PostThink when more than one set of people are dueling, but I can't quite set my finger on it.
Suggestion: when you aren't aiming at someone when you say /duel, it brings up a menu of players to choose from.
Approved. Leaving in New Submissions for a week so people can see it.