cansomeone throw me a quick line on an if else statement where
Code:
public plugin_precache()
if(get_cvar_num("sv_blah is one")
{
spritethingy = precache_model("some sprite");
return PLUGIN_HANDLED
}
else
{
spritethingy = precache_model("some other sprite");
return PLUGIN_CONTINUE;
}
thanx.
so If sv_blah is set to one in server then it should precache and use sprite x otherwise sprite y.
__________________