engine:
fakemeta:
Code:
engfunc(EngFunc_LightStyle,0,"a")
both of them do the same thing, but there is a problem...
when using the fakemeta method, it does not always make the players darker as well.
eg: in maps like de_dust and cs_assault when standing in the open you stick out like a sore thumb. though when trying to see the light level of the player it says its much darker then its showing up as.
(method used to find level)
Code:
public client_PreThink(id)
{
if (!is_user_alive(id)) return PLUGIN_CONTINUE
new Float:lambert
pev(id,pev_light_level,lambert)
client_print(id,print_center,"lambert: %i",floatround(lambert))
return PLUGIN_CONTINUE
}
it will do the same when using other values besides "a" as a flag, but only in certian spots.
does anyone know why it does this? am I maby using this wrong?
Code:
engfunc(EngFunc_LightStyle,<THISTHING>,"a")
I have tried using different numbers for "<THISTHING>" but only 0 gives me results, and it says its an integer. whats that number used for anyways?
__________________