Raised This Month: $ Target: $400
 0% 

error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
leonardo121
Member
Join Date: Sep 2013
Old 07-31-2017 , 12:35   Re: error
Reply With Quote #2

follow this example, https://forums.alliedmods.net/showthread.php?t=40822

PHP Code:
public fw_SetModel(entitymodel[])
{
    if(!
is_valid_ent(entity)) 
        return 
FMRES_IGNORED

    
if(!equali(modelOLDWORLD_MODEL)) 
        return 
FMRES_IGNORED

    
new className[33]
    
entity_get_string(entityEV_SZ_classnameclassName32)
    
    if(
equal(className"weaponbox") || equal(className"armoury_entity") || equal(className"grenade"))
    {
        
engfunc(EngFunc_SetModelentityWORLD_MODEL)
        return 
FMRES_SUPERCEDE
    
}
    return 
FMRES_IGNORED

__________________
" In the end it doesn't even matter " - Linkin Park
leonardo121 is offline
 



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 22:45.


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