View Single Post
  #22  
Old 10-20-2006, 09:48 PM
Riot Riot is offline
Delteria Management
Join Date: Nov 2003
Location: Seminole County, Florida
Posts: 280
Riot is on a distinguished road
Quote:
Originally Posted by Stefan View Post
onPlayerLeaves() should work fine, you are sure it is broken ?
It works fine.

Quote:
Originally Posted by _Z3phyr_ View Post
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].
Reply With Quote