Raised This Month: $ Target: $400
 0% 

About strip_user_weapons error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ali0mer
Senior Member
Join Date: Jan 2016
Location: Iraq
Old 04-12-2023 , 07:33   About strip_user_weapons error
Reply With Quote #1

Hello guys, im having this error in console
It happens when round start and there is no infected zombies
But if you press the “Tab” you will see for example 1 Terrorist but he is not a zombie

Error code
Code:
 04/12/2023 - 13:49:52: [FUN] Invalid player 23
L 04/12/2023 - 13:49:52: [AMXX] Run time error 10 (plugin "ZP60.amxx") (native "strip_user_weapons") - debug not enabled!
L 04/12/2023 - 13:49:52: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

Solution:

Just Add if (is_user_alive(id)) before strip_user_weapons

Last edited by Ali0mer; 04-13-2023 at 16:27.
Ali0mer is offline
Send a message via Skype™ to Ali0mer
Uzviseni Bog
Senior Member
Join Date: Jun 2020
Old 04-12-2023 , 08:39   Re: About strip_user_weapons error
Reply With Quote #2

Add 'debug' to ZP60.amxx in the plugins, and return with the results shown in the console.
Uzviseni Bog is offline
Ali0mer
Senior Member
Join Date: Jan 2016
Location: Iraq
Old 04-12-2023 , 09:01   Re: About strip_user_weapons error
Reply With Quote #3

Quote:
Originally Posted by Uzviseni Bog View Post
Add 'debug' to ZP60.amxx in the plugins, and return with the results shown in the console.
I added now but this problem happens sometimes it shows so im waiting for it
I asked some guys they told me its problem with fun module
But my modules are updated to latest version

EDIT*

Code:
L 04/12/2023 - 20:16:16: [AMXX]    [0] ZP60.sma::MakeZombie (line 10852)
L 04/12/2023 - 20:16:16: [AMXX]    [1] ZP60.sma::StartNightmareMode (line 1227)
L 04/12/2023 - 20:16:16: [AMXX]    [2] ZP60.sma::StartArmageddonMode (line 1181)
L 04/12/2023 - 20:16:16: [AMXX]    [3] ZP60.sma::StartMultiMode (line 1130)
L 04/12/2023 - 20:16:16: [AMXX]    [4] ZP60.sma::StartPlagueMode (line 1083)
L 04/12/2023 - 20:16:16: [AMXX]    [5] ZP60.sma::StartSwarmMode (line 1004)
L 04/12/2023 - 20:16:16: [AMXX]    [6] ZP60.sma::TaskZombie (line 7911)
These are the errors
The first one is on MakeZombie function

Last edited by Ali0mer; 04-12-2023 at 13:27.
Ali0mer is offline
Send a message via Skype™ to Ali0mer
Ali0mer
Senior Member
Join Date: Jan 2016
Location: Iraq
Old 04-12-2023 , 13:56   Re: About strip_user_weapons error
Reply With Quote #4

Solved

Last edited by Ali0mer; 04-13-2023 at 16:28.
Ali0mer is offline
Send a message via Skype™ to Ali0mer
lexzor
Veteran Member
Join Date: Nov 2020
Old 04-12-2023 , 18:19   Re: About strip_user_weapons error
Reply With Quote #5

try to add is_user_alive before strip_user_weapons

next time post the whole error not only that lines
lexzor is offline
Ali0mer
Senior Member
Join Date: Jan 2016
Location: Iraq
Old 04-13-2023 , 16:25   Re: About strip_user_weapons error
Reply With Quote #6

Thank you
Problem Solved
Ali0mer is offline
Send a message via Skype™ to Ali0mer
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 11:09.


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