![]() |
Appearance
HTML Code:
function savePlayer(curPlayer)Anyone have any idea why it seems to ignore the colors part? Here's what it's saving: PHP Code:
|
Color parts only work clientsided for some odd reason..
|
Quote:
|
Quote:
|
Why don't you just save the players outfit clientside and send it serverside?
|
Quote:
Thanks... |
Quote:
Create a string array containing the players outfit clientside and send it serverside to be saved. |
Quote:
|
Huh? What am I avoiding?
I'm understanding that you can't read the player's colors serverside, so I'm suggesting to save that information clientside so that you could read it then send it over to the serverside to be saved. Unless I'm confused about what your problem is? |
Quote:
|
Quote:
Well it wouldn't be creating extra pointless flags, since you're already creating an array of information on the serverside. I'm just suggestions changing that array over to clientside and sending the final product serverside to be saved. |
No need to create a flag at all, just send the attributes etc. in an action to serverside and read the data from the params.
|
It's not about serverside or clientside. Stuff like "colors[0]" is not working for dynamic variable names: http://wiki.graal.net/index.php/Crea...ring_variables
I am sure there is some way around that though, just requires a little bit more scripting. |
ok, I shall do as I stated above, about several posts before. Thanks!
|
| All times are GMT +2. The time now is 11:23 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.