Raised This Month: $ Target: $400
 0% 

[SOLVED] Native Error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
cstrike37
Member
Join Date: Jan 2012
Old 05-11-2013 , 14:49   [SOLVED] Native Error
Reply With Quote #1

I keep getting this error..
PHP Code:
L 05/11/2013 14:44:03: [CSTRIKEPlayer out of range (60)
L 05/11/2013 14:44:03: [AMXXDisplaying debug trace (plugin "sas.amxx")
L 05/11/2013 14:44:03: [AMXXRun time error 10native error (native "cs_get_user_model")
L 05/11/2013 14:44:03: [AMXX]    [0sas.sma::fwEmitSound (line 902
Here's line 902:
PHP Code:
public fwEmitSound(idchannel, const sound[], Float:volumeFloat:attenuationflagspitch


    
cs_get_user_model(idmodelcharsmax(model))
        
//Checks if the user is connected
    
if(!is_user_connected(id) || equal(model"sas") != 1
    return 
FMRES_IGNORED
     
    if(
containi(sound"die") != -|| containi(sound"death") != -1
    { 
        
// Here it will play your sound and block the old death sound 
    
engfunc(EngFunc_EmitSoundidchanneldie_spk[random_num(0sizeof die_spk 1)], 1.00.92flagspitch); 
         
    return 
FMRES_SUPERCEDE
    } 
     
    return 
FMRES_IGNORED

How can I fix this?

/Solved

Last edited by cstrike37; 05-11-2013 at 23:52.
cstrike37 is offline
 


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 16:20.


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