Remove the StartFrame forward because it is creating too much CPU...
PHP Code:
public fw_Spawn(entity){
/////////////////////////////////if (!pev_valid(entity)) return FMRES_IGNORED
new classname[32]
pev(entity, pev_classname, classname, charsmax(classname))
for (new i = 0; i <= charsmax(g_objective_ents); i++){
if (equal(classname, g_objective_ents[i])){
engfunc(EngFunc_RemoveEntity, entity)
return FMRES_SUPERCEDE
}
}
return FMRES_IGNORED
}
The spawned entity can't be an invalid one, lol!
Also, why are you using engine and fakemeta both?
Catch the PreThink and PostThink forwards with Hamsandwich and the pfn_touch forward with fakemeta!
PHP Code:
public event_CurWeapon(id)
{
// get the weapon
new wid = get_user_weapon(id)
=>
PHP Code:
static iwid;
iwid=read_data(2);
Use the nvault extension for save the player's data
__________________