hi,
i tryed making footsteps disabled for steves carmod
heres what i've done:
Code:
public client_infochanged(id)
{
if(incar[id] == 1 && is_user_alive(id)) {
set_user_info(id,"model",carmodel[id])
set_user_footsteps(id,0)
return PLUGIN_HANDLED
}
if(incar[id] == 0 && is_user_alive(id)) {
set_user_footsteps(id,1)
return PLUGIN_HANDLED
}
return PLUGIN_HANDLED
}
but,
it doesnt work,
actually, it does the opposite
ppl cant hear footsteps, while theyre out of car