am I the only who doesn't believe this will do anything? How does calling a non existent task make someone revive? You would be better off using something like
get_user_name(id, username, 32);
server_cmd("zp_respawn %s", username);
so zombie plague will handle the revive for you, and no reason at all for the g_canRespawn global.
@koyumu: if you want to make something work for both teams open the script find the line with
g_itemid_respawn = zp_register_extra_item(g_item_name,RESPAWN_COST, ZP_TEAM_HUMAN)
and change ZP_TEAM_HUMAN to 0