that is the code:
Code:
public ct_move(id)
{
new name[32];
cs_set_user_team(id,CS_TEAM_CT);
get_user_name(id, name, 31);
server_cmd("amx_revive %s ct",name);
log_amx("ct_move(%d)",id);
return PLUGIN_CONTINUE;
}
and that is the errors:
Code:
L 07/17/2010 - 23:17:49: [CSTRIKE] Invalid player 5
L 07/17/2010 - 23:17:49: [AMXX] Displaying debug trace (plugin "ct_move.amxx")
L 07/17/2010 - 23:17:49: [AMXX] Run time error 10: native error (native "cs_set_user_team")
L 07/17/2010 - 23:17:49: [AMXX] [0] ct_move.sma::ct_move (line 18)
what is the problem here?
thanks.