Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Question on Server... again ... (https://forums.graalonline.com/forums/showthread.php?t=87558)

Switch 08-30-2009 12:33 AM

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.

Mark Sir Link 08-30-2009 10:29 AM

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.

sssssssssss 08-31-2009 05:39 AM

ahhh. :)
if i get time i may change it. ty.


All times are GMT +2. The time now is 10:40 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.