![]() |
A little help with with()
What I'm trying to do is to get some strings for the specified player, using with (getplayer())
I've tried many many different ways but nothing is working. I've tried setting this.strings, thiso.strings, level.strings. I just don't understand why it's not working. NPC Code: Anyone help? |
The first way is correct, except that you can only use thiso if you are using with () to get to another NPC. It is not used for another player, because they both have the same this. variables. Just use this..
The second way proves you did not understand clientside/serverside, I think. The third way is just not needed. Who hacked your account and made a thread that actually made sense? |
It's not that I don't understand client/serverside, it's just that I haven't used it in a long time, but anyways. You are saying if, in the first example, I would've used this.strings, it would've been correct?
Good grief... |
Yes, I think that would have been correct.
|
Well I got it to work, but I had to nest them:
NPC Code: But I suppose it's alright, atleast it works |
| All times are GMT +2. The time now is 04:16 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.