![]() |
Offline Player Manipulation
Allows you to view and edit variables and the values of offline players while providing compatibility methods to edit them if they're already online.
PHP Code:
PHP Code:
Quote:
|
I didn't know you could edit variables of offline players, this is quite awesome. Nice work :).
|
Quote:
Anyways, nice job Jerret, it's a good contribution. |
Quote:
You can even join your classes to it, treat it like an online object, and save it when you're done with it too. (No more trivial edits with /open on scammer's accounts :3) |
Nice script.
One problem which needs to be solved: you need to call destroy() on the player object after you have used it, when you do new TServerPlayer() it is not automatically destroyed like TStaticVars() |
Quote:
|
Nice. You've been cranking out sweet scripts for some time now! Thanks.
|
Ooo, nice, I didn't know you could manipulate players offline either, will definitely be using this.
|
Stefan added a findplayer2 (which now accepts both account and community names) function, which kind of breaks my code snippet.
I've since used this code instead of my findplayer2 function: PHP Code:
|
How would I use this to remove an offline players weapon? I can't figure out how.
|
Quote:
temp.pl.removeweapon("Weapon Name"); |
Quote:
|
Quote:
PHP Code:
|
All times are GMT +2. The time now is 08:14 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.