Hey there,I need a little help,I checked everything twice but couldn't figure out whats the problem
These are the errors: ( Generated in Console )
L 06/16/2012 - 01: 31:18: [FUN] Invalid player 1
L 06/16/2012 - 01: 31:18: [AMXX] Displaying debug trace (plugin "adminmode.amxx")
L 06/16/2012 - 01: 31:18: [AMXX] Run time error 10: native error (native "set_user_health")
L 06/16/2012 - 01: 31:18: [AMXX] [0] adminmode.sma::ClientSpawn (line 21)
"set_user_health" is a native from fun.inc but I am including fun,If I change it to fun.inc
It displays the same error.Help please
I am using the following code:
Code:
if (is_user_alive(id))
{
set_user_health(id, 200)
cs_set_user_armor(id, 300, CS_ARMOR_VESTHELM) // For Armor,You know that!
}
__________________