Raised This Month: $ Target: $400
 0% 

[Request] Plugin Biohazard Edit


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
lent
Junior Member
Join Date: Oct 2011
Old 08-23-2019 , 12:04   [Request] Plugin Biohazard Edit
Reply With Quote #1

Hello,

As the title says, I need some help from you guys, I have this biohazard plugin, it's a bit different from the normal ones, it has this function inside of it "#define DEFAULT_HUMAN_MDL "gign" ". Well, what I want is:

Can anybody remove that function for good? I mean, to remove that thing that sets a default model for humans, because the problem is, with that function there, it gives a human model for some zombies as well, so the zombies will look like humans, and that's not okey. So, can you guys remove it so it won't set any default model for humans? Cause if that's gonna be removed from there, everything is gonna work fine. I will attach bellow the next sources, the one with the problem, that needs to be solved, one default source without that function, so you guys can have an example what I am talking about, and the cfg that requires to be compiled. The reason why I am not using the default source, is because that one with problems, it's an upgraded version, but I want that function with model defaults, OFF !




THE BIOHAZARD SOURCE WITH PROBLEMS:
Code:
https://www.mediafire.com/file/4qx3eqzwl38l479/biohazard.sma/file
PHP Code:
new model[128]
    
formatex(modelcharsmax(model), "models/player/%s/%s.mdl"DEFAULT_PMODELDEFAULT_PMODEL)
    
precache_model(model)
    
precache_model(DEFAULT_WMODEL)

    new 
model1[128];
    
formatex(model1charsmax(model1), "models/player/%s/%s.mdl"DEFAULT_HUMAN_MDLDEFAULT_HUMAN_MDL)
    
precache_model(model1)
    
    new 
imodel2[128]
    for(
0g_classcounti++)
    {
        
formatex(model2charsmax(model2), "models/player/%s/%s.mdl"g_class_pmodel[i], g_class_pmodel[i])
        
precache_model(model2)
        
precache_model(g_class_wmodel[i])
    } 
THE BIOHAZARD EXAMPLE SOURCE:
Code:
https://www.mediafire.com/file/vdcy7lmg5f1us17/biohazard.sma/file
THE BIOHAZARD.CFG
Code:
https://www.mediafire.com/file/s4iy3ramck70ft8/biohazard.cfg/file
lent 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 17:21.


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