Code:
set_task(4.0,"normal_grav")
you dont give the client id to set_task, so you wont get it in normal_grav when you call it.
Code:
new CORE[1]; CORE[0] = id; set_task(4.0,"normal_grav",_, CORE, 1 );
and then you have to read the id in the normal_grav function
Code:
public normal_grav(CORE[])
{
new id = CORE[0];
set_pev(id,pev_gravity,800);
client_cmd(id, "-jump");
}
__________________