Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   player/profile vars (https://forums.graalonline.com/forums/showthread.php?t=134265321)

sssssssssss 12-19-2011 05:10 AM

player/profile vars
 
I'm using script to bring things to finally get to the point where i can use:
PHP Code:

findplayer(acct).playervar 

to show things on clientside. spar rate and language and a few others work, but specifically kills, deaths, onlinetime, and upgradestatus do not show up at all. I'm not sure why since some do show up. Are these supposed to be serverside only or is there some other issue possibly?

ffcmike 12-19-2011 06:25 AM

Yeah those variables aren't synchronised to the client, you could always store them as a custom player.clientr. variable serverside.

sssssssssss 12-19-2011 06:30 AM

I figured that's what it was, and really didn't feel like doing triggers unless it was for sure. I appreciate it.


All times are GMT +2. The time now is 10:57 PM.

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