AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Run time error 10: native error (https://forums.alliedmods.net/showthread.php?t=139895)

lil_joko 10-06-2010 14:20

Run time error 10: native error
 
Can I ask you how to fix that problem, It has this errors..

Code:

L 10/06/2010 - 20:05:58: [CSTRIKE] Invalid player 4
L 10/06/2010 - 20:05:58: [AMXX] Displaying debug trace (plugin "xpmod.amxx")
L 10/06/2010 - 20:05:58: [AMXX] Run time error 10: native error (native "cs_get_user_team")
L 10/06/2010 - 20:05:58: [AMXX]    [0] xpmod.sma::RSGI (line 180)
L 10/06/2010 - 20:08:20: [FUN] Invalid player 4
L 10/06/2010 - 20:08:20: [AMXX] Displaying debug trace (plugin "xpmod.amxx")
L 10/06/2010 - 20:08:20: [AMXX] Run time error 10: native error (native "set_user_health")
L 10/06/2010 - 20:08:20: [AMXX]    [0] xpmod.sma::RSGI (line 162)

This is from one plugin - xp mod from exolent

Please help me :(

reinert 10-06-2010 14:23

Re: Run time error 10: native error
 
For second error try to fix with this:

if(is_user_alive(index))

For first try changing cs_get_user_team method to get_user_team or just check is_user_connected

fysiks 10-06-2010 18:13

Re: Run time error 10: native error
 
Quote:

Originally Posted by reinert (Post 1317178)
For first try changing cs_get_user_team method to get_user_team

Pointless if he's using Counter-Strike.

lil_joko 10-06-2010 23:50

Re: Run time error 10: native error
 
Yes, I am with a non steam cs and how should I fix that please help me .. :(

hornet 10-07-2010 01:01

Re: Run time error 10: native error
 
How many people are you testing with - are you sure you've targeted the correct player index?
Perhaps show your code snippet.

ConnorMcLeod 10-07-2010 01:51

Re: Run time error 10: native error
 
Get steam or die.

lil_joko 10-07-2010 05:16

Re: Run time error 10: native error
 
Quote:

Originally Posted by ConnorMcLeod (Post 1317768)
Get steam or die.

I have steam omg.. but most of the people from here doesnt have steam so I want to make servers for them and what is your problem dude.. get steam or die? You stupid a*s ho*e [sorry for my words] ...

reinert 10-07-2010 08:57

Re: Run time error 10: native error
 
No-steam results in No-supports.

Exolent[jNr] 10-07-2010 19:01

Re: Run time error 10: native error
 
We only support Steam here, and only Steam.
Even if your server is Steam but allows Non-Steam (with dproto) we will not give support.


All times are GMT -4. The time now is 10:23.

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