![]() |
player.attr serverside
quick question, is player.attr's readable serverside?
|
just tested it and it worked :P
|
hmm,
PHP Code:
reading an others player.attr's |
Quote:
PHP Code:
|
Quote:
and my styling, I like the spacing, gives more readability when having alot of parametres, well thats what I think :o |
Ugh, we have another Contiga styler..
|
Quote:
|
Quote:
|
Quote:
Ah wait, I forgot that ''with'' doesn't need to be addressed again with the temp.curAccount, as you've already found the player. HTML Code:
temp.curAccount = findPlayer("cHANDLER"); |
Quote:
Well, I got it to work, thanks to Skyld :D Now this is my other question, why can you read an other players 'player.' vars, but not strings like 'clientr.' (This is what I experienced) |
Quote:
PHP Code:
PHP Code:
|
Ditto! I can't stand the extra line just for the {
though one thing that does irk me is seeing PHP Code:
|
I always does a new line for brackets BUT only on a new function, NEVER in other places in the script.
|
I do it because (the line break for bracet) so that if the script is like, huge,
I can hover my mouse over the bracet and scroll the mouse down to see where it ends :] Quote:
|
Quote:
|
Quote:
|
Did you try player.clientr.foo while in another player?
|
Quote:
Edit: Well, I can't get this to work PHP Code:
PHP Code:
|
sorry for double post, but
doing this clientside; PHP Code:
PHP Code:
Anyone know how to fix this, because I don't want to go serverside.. Also, (this is clientside) PHP Code:
PHP Code:
I am beginning to think that you can just read a other players 'player.*' vars, and vars like clientr, but, findplayer recieves the 'player.*' object, so maybe thats why it only can do player.' vars.. arrh, confusing, anyone know how to get this to work? (reading a player clientr strings clientside (an other player)) |
You can NOT read player strings clientsided, only his attributes.
|
HTML Code:
temp.mudStats = { |
| All times are GMT +2. The time now is 10:09 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.