Thread: [Solved] Problem with entity
View Single Post
The overrated maniac
Member
Join Date: Jun 2021
Location: Argentina
Old 10-30-2021 , 19:06   Re: Problem with entity
Reply With Quote #5

Thanks for the answer, the problem is the model, how can I add it right?

PHP Code:
new const MODEL_CAL[] = "models/cal.mdl";
new 
bool:bCal;

public 
plugin_init(){
    
register_plugin"Tree Spawner""1.0""xPaw" );

    
bCal =     true;
}

public 
plugin_precache(){
    if(
bCal){
        
precache_model(MODEL_CAL);
    }
}

then just the code posted before 
Tree Spawner by xPaw use ambient_generic and a tree model. Why I can't?

Last edited by The overrated maniac; 10-30-2021 at 19:07.
The overrated maniac is offline