![]() |
Baddie issue
I don't know what I'm doing wrong. I have a simple baddie I am developing.
The Image displays, and the initial health displays, but it is not actually functional. The onWasDmg() does work, but only when I change whole script to CLIENTSIDE....which I don't want to do. I looked at many baddie examples (like gBaddie v3) and none of that is in CLIENTSIDE. Why won't mine work :( PHP Code:
|
If you're setting clientr.tempdmg client-side then the change isn't being seen serverside, therefore no damage is occurring.
Also update the chat when the baddy takes damage, not on a loop, that's very wasteful. You can't 'timeout' faster than 0.1 seconds (and you should avoid doing so at all costs) on the server-side. Try this: PHP Code:
|
| All times are GMT +2. The time now is 07:07 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.