Quote:
Originally Posted by AIA-Shogun
hello all,
version 1.2 ok on my server, very nice good job
notice : just one thing, with chicken mod, the weapon fly top of the chicken.
|
It should take care about the model's size of the player. The same happens with he_arena and ChickenMod.
About that crash thing - I would suggest to use is_valid_ent(end_id) everytime before You are using remove_entity. Maybe it will help a bit. At the beginning I would suggest to try with these functions:
Code:
public client_connect(id)
{
if(g_bwEnt[id] > 0)
{
if (is_valid_ent(g_bwEnt[id]))
remove_entity(g_bwEnt[id])
}
g_bwEnt[id] = 0
}
public client_disconnect(id)
{
if(g_bwEnt[id] > 0)
{
if (is_valid_ent(g_bwEnt[id]))
remove_entity(g_bwEnt[id])
}
g_bwEnt[id] = 0
}
public client_PreThink(id)
{
if(!is_user_connected(id))
return PLUGIN_CONTINUE
if(!is_user_alive(id) && g_bwEnt[id] > 0)
{
if (is_valid_ent(g_bwEnt[id]))
remove_entity(g_bwEnt[id])
g_bwEnt[id] = 0
return PLUGIN_CONTINUE
}
if(!cs_get_user_hasprim(id) && g_bwEnt[id] > 0)
{
if (is_valid_ent(g_bwEnt[id]))
remove_entity(g_bwEnt[id])
g_bwEnt[id] = 0
return PLUGIN_CONTINUE
}
(...)
__________________
The Fullpack of podbot mm
V3B22 - 24 apr 2012!!! is available
here.
The All-In-One 3.2a package - 02 jun 2013 (
AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available
here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available
here.