Code:
public if_zombie(id){
new model[32]
get_user_info(id, "model", model, 31);
if (contain ( model[32], zombies[31] );
set_user_footsteps ( id, [ set = 1 ] );
set_user_gravity ( id, Float:gravity = 1.0 );
}
public if_human(id){
new model[32]
get_user_info(id, "model", model, 31);
if (contain ( model[32], human[31] );
set_user_rendering(id, kRenderFxGlowShell,255,0,0,kRenderNormal,25);
}
public tasks(){
set_task(0.5,"if_human");
set_task(1.0,"if_zombie");
}
I have no idea, what I'm doing wrong... But it's probably something very stupid...
Basically, for the zombie mod, me and my friend are making... I want to make it so zombies have silent foot steps (More sneaky

)
and have reduced gravity. (These are the bots)
While people (the non-bots) will glow red so that other players will know before hand that it is a player. (Reduced light on map making it harder to see)
Any help would be appreciated...
__________________