problem with use button once plugin
1 Attachment(s)
Hi guys, i fixed most errors on my server, only this left, I will post my .sma in attachments so if anyone know how to fix error please post here, or send me on PM and this is not default use button once, this is edited one so players cant pick weapon from the floor, but this bug have and official version too.
L 13/08/2012 - 18:11:24: Player 3 is not ingame L 13/08/2012 - 18:11:24: [AMXX] Displaying debug trace (plugin "explosion_ubo.amxx") L 13/08/2012 - 18:11:24: [AMXX] Run time error 10: native error (native "player_menu_info") L 13/08/2012 - 18:11:24: [AMXX] [0] explosion_ubo.sma::show_menu_ (line 627) This is code make error PHP Code:
Thanks in advance guys. |
Re: problem with use button once plugin
Quote:
or put PHP Code:
|
Re: problem with use button once plugin
i get error with that line if i try to check if is user connected can u post me where correctly to add that?
|
Re: problem with use button once plugin
PHP Code:
PHP Code:
|
Re: problem with use button once plugin
Ah thank you i forgot
if(!is_user_connected(id)) return ... i will try this today :) |
Re: problem with use button once plugin
Its not OK like this, look log now...
Code:
L 08/17/2013 - 08:06:25: Info (map "deathrun_grass") (file "addons/amxmodx/logs/error_20130817.log")line 638 is show_menu_(tid) // you don't have to set task for that |
Re: problem with use button once plugin
set_task(0.0 ....
will give the same error probably. If you look at errors you will understand. You are calling the function over 500 times in 1 second. Use set task with 2 or 5 second if you really have to do that check |
| All times are GMT -4. The time now is 16:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.