some logs for plugin
Hi guys, I'm new in plugins world and everything like that, I have using this plugin but there is some logs from him, can anybody give me idea how to fix this, its very simple plugin.
PHP Code:
[AMXX] Run time error 10: native error (native "set_user_health") Thanks a lot for help guys! |
Re: some logs for plugin
You must check if the player is connected whenever you use set_task. Players can disconnect before the task ends.
Here your solution to prevent that error PHP Code:
Plus why are you setting players' health to 100 five times ? If you want to make a spawn protection, it is very poor way. |
Re: some logs for plugin
I dont know how to make spawn protection better x)
I tride Bad Spawn Preventer from xPaw and beast but its not working for me, players still get killed at start of map... |
Re: some logs for plugin
this is a simple method.
PHP Code:
Here is another method. PHP Code:
If you search you can find the advanced ones. |
Re: some logs for plugin
Thanks a lot, can I use some of these method on my DR server?
Thanks dude. |
Re: some logs for plugin
of course, but as I said you can find better plugins.
|
Re: some logs for plugin
Thansk a lot, Can I send u PM with one more plugin xp and levels but i need some help for fixing hud, I will send u PM if u are able and if u want to help me, thanks for this one more time.
Moderator, lock please! |
Re: some logs for plugin
FYI, your "log" is incomplete. If you look at the rest of the log, it would have told you what the problem was
|
| All times are GMT -4. The time now is 15:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.