Quote:
Originally Posted by .Dare Devil.
One question
PHP Code:
entity_think(ent)
{
static y
y += something
}
if entity_think is called "entity_think(130)" example
then y + 10 example and if entity_think is called "entity_think(129)"
then that old y + 10 or there come new y because func ent param is different?
i think it is a bad explanation  ( bad english!  )
if the entity_think param is different then what happen to the y?
|
static never clean his value;
if you want.. make a test in Ham_Spawn using a static
__________________