Hi, i have this commands here on Cstrike & XS... but i need they on fakemeta. can anyone translate this?
i have this codes here :
PHP Code:
if (get_option(OPTION_ENABLE_INFINITE_SMOKES) && weapon == CSW_SMOKEGRENADE)
{
cs_set_user_bpammo(id, CSW_SMOKEGRENADE, 1000)
}
PHP Code:
public client_disconnect(id)
{
cl_is_bot[id] = false
mode[id][GRENADE_EXPLOSIVE] = NADE_NORMAL
mode[id][GRENADE_FLASHBANG] = NADE_NORMAL
mode[id][GRENADE_SMOKEGREN] = NADE_NORMAL
team[id] = CS_TEAM_UNASSIGNED
}
PHP Code:
if (!is_user_connected(pev(ent,pev_owner)) || is_user_connecting(pev(ent,pev_owner)) || team[pev(ent,pev_owner)] == CS_TEAM_UNASSIGNED)
PHP Code:
case CS_TEAM_T: show_ring(origin,get_option_float(OPTION_PROXIMITY_RADIUS) * 1.5 * 7 / 5, 5, 255, 0, 0)
PHP Code:
velocity = xs_vec_len(v)
PHP Code:
switch (cs_get_user_team(id))
{
case CS_TEAM_T,CS_TEAM_CT: team[id] = cs_get_user_team(id)
default: return FMRES_IGNORED
}
PHP Code:
if (cs_get_user_shield(id))
PHP Code:
xs_vec_copy(origin, point)
PHP Code:
xs_vec_mul_scalar(normal, get_option_float(OPTION_TRIP_FLY_SPEED), temp)
PHP Code:
xs_vec_mul_scalar(normal, get_option_float(OPTION_TRIP_DETECT_DISTANCE), temp)
xs_vec_add(temp, origin, end)
PHP Code:
xs_vec_mul_scalar(normal,400.0,temp)
xs_vec_add(temp,origin,fakeend)
PHP Code:
xs_vec_copy(end,fakeend)
PHP Code:
return (xs_vec_equal(velocity, Float:{0.0, 0.0, 0.0}) ? true : false)
So this all are the errors when i disable xs & cstrike includes. maybe any of this can i use in fakemeta too. idk, i need just this commands in fakemeta

hope anyone can helpme
__________________