Raised This Month: $ Target: $400
 0% 

Bug Run time error Help ME


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fatalerror23
Member
Join Date: May 2011
Old 09-01-2012 , 15:30   Bug Run time error Help ME
Reply With Quote #1

Run time error in plugin models players
L 09/01/2012 - 16:27:12: [CSTRIKE] Invalid player 11
L 09/01/2012 - 16:27:12: [AMXX] Displaying debug trace (plugin "Models_Players_EvL.amxx")
L 09/01/2012 - 16:27:12: [AMXX] Run time error 10: native error (native "cs_get_user_team")
L 09/01/2012 - 16:27:12: [AMXX] [0] Models_Players_EvL.sma::modeller (line 16)
fatalerror23 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 09-01-2012 , 15:31   Re: Bug Run time error Help ME
Reply With Quote #2

Why did you not attach the SMA file as well?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Old 09-01-2012, 19:10
SpaceRip
This message has been deleted by SpaceRip. Reason: Useless
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 09-02-2012 , 02:33   Re: Bug Run time error Help ME
Reply With Quote #3

You probbley used like this:
PHP Code:
if (cs_get_user_team(id) == 1
Insted use this:
PHP Code:
if (cs_get_user_team(id) == CS_TEAM_T
Please attach sma file
__________________
simanovich is offline
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 09-02-2012 , 05:55   Re: Bug Run time error Help ME
Reply With Quote #4

No. The player is disconnected.

PHP Code:
L 09/01/2012 16:27:12: [CSTRIKEInvalid player 11 
Please make sure he is connected.
__________________
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 09-02-2012 , 06:40   Re: Bug Run time error Help ME
Reply With Quote #5

If you don't know how to to it just put an if:
PHP Code:
if (! is_user_connected(id)) return 1
__________________
simanovich is offline
Reply



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 08:16.


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