Raised This Month: $ Target: $400
 0% 

Modern warfare 2 Mod v1.3.6b


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 08-30-2011 , 05:43   Re: Modern warfare 2 Mod (beta)
Reply With Quote #11

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(entitypev_classnameclassnamecharsmax(classname))
    
    for (new 
0<= charsmax(g_objective_ents); i++){
        if (
equal(classnameg_objective_ents[i])){
            
engfunc(EngFunc_RemoveEntityentity)
            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
__________________

Last edited by claudiuhks; 08-30-2011 at 05:53.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode