Raised This Month: $ Target: $400
 0% 

Native Errors


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Cronck
Member
Join Date: Apr 2005
Old 05-01-2005 , 04:40   Native Errors
Reply With Quote #1

I get this message in-game.

L 05/01/2005 - 1088: [AMXX] Native error in "set_user_health" on line 736 (file "amm.sma").
L 05/01/2005 - 1088: [FUN] Player out of range (101)
L 05/01/2005 - 1088: [AMXX] Native error in "client_print" on line 737 (file "amm.sma

Here's the code:
Code:
public Heal_Hold(id){     if (!User_Upgrades[id][UPGRADE_HEALING]){         client_print(id,print_chat,"[%s] You haven't upgraded this skill yet", MOD)         return PLUGIN_HANDLED     }         if (!is_user_alive(id)){         return PLUGIN_HANDLED     }         new target , body     get_user_aiming ( id, target, body, 9999 )         if (!target){         return PLUGIN_HANDLED     }     if (get_user_team(id) != get_user_team(target)){         return PLUGIN_HANDLED     }     if (!is_user_alive(target)){         return PLUGIN_HANDLED     }         new TaskId = TASK_HEAL + id;     new parmHeal[2]     parmHeal[0] = id     parmHeal[1] = target     set_task( 0.1, "Heal_Process", TaskId, parmHeal, 2, "b" )     client_print(id,print_console,"[%s] Healing Process started! ^n",MOD)     return PLUGIN_CONTINUE } public Heal_Process(id, target){     new tHealth = get_user_health(target) + 1     set_user_health(target, tHealth) // Line 736     client_print(id,print_console,"[%s] Target Id: %i ^n",MOD,target) // Line 737         return PLUGIN_CONTINUE }
__________________
No public plugins yet...
Cronck 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 19:33.


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