Quote:
Originally Posted by Stefan
onPlayerLeaves() should work fine, you are sure it is broken ?
|
It works fine.
Quote:
Originally Posted by _Z3phyr_
apparently it doesn't work.
Anyway lets see if yall can redeem yourselves...
Tell me what I did wrong here. Assume temp.entry is a string and that all arrays and/or variables have been declared before this script comes into play.
PHP Code:
for (i=1;i<=13;i++) {
if (server.arrayprefix_(temp.entry @ "Suffix")[i]!=null) {
if (client.array[i]>=server.arrayprefix_(temp.entry @ "Suffix")[i]) {
I've tried saying (@temp.entry@"Suffix") but that doens't work either. If that's the correct answer then maybe I mistyped something.
edit
and yes I know I can jsut say server.array >= client.array but that doesn't answer my question.
|
You would want to do server.("arrayprefix_" @ temp.entry @ "Suffix")[i].