![]() |
Wtf!? Passing arrays
Alright, so..
I have an NPC weapon that parses a string into a multi-dimensional array, then sends it to the serverside. It was working fine. I relogged and it broke. PHP Code:
ParseMods(emods(item))[0][0] returns 'addhp' It's parsing it fine. However, when it tries to read params[1] in the serverside, it gives me 1. Just 1. There's nothing else. params[1].size() is 0. I know it's possible to pass arrays through triggeractions, as I've done it before. Any help? |
Nevermind, I placed params[1] in a new variable when it caught the trigger and it worked.
|
| All times are GMT +2. The time now is 08:10 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.