![]() |
Clearing ALL clientr.vars
Is there a way to clear all clientr.vars? Without knowing all the clientr.vars set?
If there isn't some sort of "built in" way, how would I go about doing this in script? I don't even know where to start to grab random var names. I need to wipe characters clean... |
serverside do something like:
NPC Code:temp.clientrvars = findplayer(player.acccount).clientr.getdynamicvarn ames(); |
HTML Code:
temp.pl = findplayer("xAndrewx"); |
Quote:
Quote:
PHP Code:
:/ |
getstringkeys() is not a player function
you can however add it into a class which is joined to the player and it will accomplish the same thing - PHP Code:
|
Are you attempting to do Blah64's suggestion in an onCreated on the serverside?
He put findplayer(player.account), which is redundant for "player." Either way, if you tried that in the onCreated, where there is no player scope, that would explain why it wouldn't work. Doing: PHP Code:
|
Ohh goodness.....
I had an extra "c" in player.account.... Blah's way works fine yes. |
| All times are GMT +2. The time now is 10:03 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.