Raised This Month: $ Target: $400
 0% 

AMXX Errors


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Waleed
Senior Member
Join Date: May 2012
Location: Pakistan
Old 06-15-2012 , 16:39   AMXX Errors
Reply With Quote #1

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!
}
__________________
Working On:
  1. Gameplay 1 - 0% [PAUSED]
Waleed is offline
Send a message via Skype™ to Waleed
 



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 22:02.


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