I keep getting this error..
PHP Code:
L 05/11/2013 - 14:44:03: [CSTRIKE] Player out of range (60)
L 05/11/2013 - 14:44:03: [AMXX] Displaying debug trace (plugin "sas.amxx")
L 05/11/2013 - 14:44:03: [AMXX] Run time error 10: native error (native "cs_get_user_model")
L 05/11/2013 - 14:44:03: [AMXX] [0] sas.sma::fwEmitSound (line 902)
Here's line 902:
PHP Code:
public fwEmitSound(id, channel, const sound[], Float:volume, Float:attenuation, flags, pitch)
{
cs_get_user_model(id, model, charsmax(model))
//Checks if the user is connected
if(!is_user_connected(id) || equal(model, "sas") != 1)
return FMRES_IGNORED;
if(containi(sound, "die") != -1 || containi(sound, "death") != -1)
{
// Here it will play your sound and block the old death sound
engfunc(EngFunc_EmitSound, id, channel, die_spk[random_num(0, sizeof die_spk - 1)], 1.0, 0.92, flags, pitch);
return FMRES_SUPERCEDE;
}
return FMRES_IGNORED;
}
How can I fix this?
/Solved