Raised This Month: $51 Target: $400
 12% 

Simple plugin (skin admins) - errors in logs! WHY?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wizzkidon
Senior Member
Join Date: Jan 2017
Old 02-03-2017 , 04:42   Simple plugin (skin admins) - errors in logs! WHY?
Reply With Quote #1

Hi. I received errors from logs, because my plugins are idiot.
Code:
[AMXX] Run time error 10: native error (native "cs_reset_user_model") 
[AMXX] Displaying debug trace (plugin "skin_own.amxx") 
[0] a729g096.sma.p::admin_model (line 36)
And plugin is:

Spoiler


Modules.ini:
fun
;engine
;fakemeta
;geoip
;sockets
;regex
;nvault
cstrike
csx
hamsandwich

Btw , my server is mod respawn! I need your help, please!

Last edited by wizzkidon; 02-03-2017 at 04:43.
wizzkidon is offline
aEEk
Member
Join Date: May 2012
Location: Romania
Old 02-03-2017 , 05:44   Re: Simple plugin (skin admins) - errors in logs! WHY?
Reply With Quote #2

delete line:
PHP Code:
cs_reset_user_model(id
from your source.
aEEk is offline
Send a message via Yahoo to aEEk Send a message via Skype™ to aEEk
wizzkidon
Senior Member
Join Date: Jan 2017
Old 02-03-2017 , 06:29   Re: Simple plugin (skin admins) - errors in logs! WHY?
Reply With Quote #3

Quote:
Originally Posted by aEEk View Post
delete line:
PHP Code:
cs_reset_user_model(id
from your source.
Without this, plugin don't working.

Last edited by wizzkidon; 02-03-2017 at 08:36.
wizzkidon is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-03-2017 , 08:20   Re: Simple plugin (skin admins) - errors in logs! WHY?
Reply With Quote #4

Check if user is alive before changing the model.
Use [php] tags for plugin codes instead of [code].
__________________

Last edited by OciXCrom; 02-03-2017 at 08:20.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
wizzkidon
Senior Member
Join Date: Jan 2017
Old 02-03-2017 , 08:36   Re: Simple plugin (skin admins) - errors in logs! WHY?
Reply With Quote #5

Quote:
Originally Posted by OciXCrom View Post
Check if user is alive before changing the model.
Use [php] tags for plugin codes instead of [code].
I tried, and nothing..
wizzkidon is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-03-2017 , 10:10   Re: Simple plugin (skin admins) - errors in logs! WHY?
Reply With Quote #6

Post the code if you tried.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
wizzkidon
Senior Member
Join Date: Jan 2017
Old 02-03-2017 , 13:00   Re: Simple plugin (skin admins) - errors in logs! WHY?
Reply With Quote #7

Quote:
Originally Posted by OciXCrom View Post
Post the code if you tried.
What code? Man, i don't understand..
wizzkidon is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-03-2017 , 13:28   Re: Simple plugin (skin admins) - errors in logs! WHY?
Reply With Quote #8

The code you TRIED when you checked if the user is alive.
__________________

Last edited by OciXCrom; 02-03-2017 at 13:28.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 09:43.


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