![]() |
Quote:
|
And he had a redundant idea, so I should just shut up? Can't say anything because he's better than me in gs2 even though its completely redundant? Wow.
Quote:
wtf is that coming from? I didn't know i demanded something i wanted. Been asking and saying thank you alot through my posts, and how I appreciate everyones help. -_- Just going to release this script in the code gallery anyways as finished, once it is. |
Quote:
|
Quote:
I don't trust onPlayerDies(), nor have I used it. Personally I would probably have the death check directly in the damage system but that depends on the setup of the server, and the systems they have. This script should be it's own DB-NPC, because then you can actually see the errors as you code it, and can use it easily over multiple levels. |
This forum got way off topic.
DB-NPC would work best, but like I said, no access to it, its not for a server I own or work on. I went ahead and instead of doing an auto warp out for both sparrers after one dies, I just did a player.chats end match, tokenized, and then pulled a for() out and used that to warp them out after the match is over. Thank you again for your help everyone. :) |
IMO you should use a multi-dimensional array for the matches to save on flag/variable clutter, and also keep it all in the same place.
|
Since I see you didn't get a response regarding this directly, my best guess as to why your playerdies on clientside isn't working would be because you are checking a var that is on the serverside of the script.
To access it clientside, you either need to trigger the client or store it in the NPCs attributes (.attr[1-30], 0 doesn't work if I remember) and use that. |
ahhh. :)
if i get time i may change it. ty. |
| All times are GMT +2. The time now is 08:19 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.