You need to check if the player is connected before doing anything else with the player.
Code:
public Task_Strip(task)
{
new id = task - TASKID_STRIP
if (!is_user_connected(id))
return
if (cs_get_user_submodel(id)) - this is the 2946 line.
cs_set_user_submodel(id, 0)
fm_strip_user_weapons(id)
if (g_zombie[id] && InfectedClass[id] == 0)
{
Code:
if(get_pcvar_num(cvar_zmrespawn))
{
static id, CsTeams:team
id = tid-TID_RESP
// you are using cs_get_user_team() before even checking if the player is connected
team = cs_get_user_team(id)
if(!is_user_connected(id) || is_user_alive(id) || (team != CS_TEAM_T))
return
__________________