Thread: clientr arrays
View Single Post
  #13  
Old 08-12-2007, 08:57 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by zokemon View Post
Yeah, if you don't know what every line in a script is doing, you should be prepared for people making such states towards you if you try to explain what's wrong. Not trying to persuade you from giving advice but rather you should learn more about GS2 first .
QUOTED FOR TRUTH

It was so extremely irritating to have the GST tell me how my script was wrong when they didn't understand jack-**** about what it was doing.

http://forums.graalonline.com/forums...t=73340&page=2

Anyhow...
PHP Code:
  if (params[0] == "addquantity") {
    for (
temp.0clientr.items.size(); ++) {
      if (
clientr.items[i][0] == params[1]) {
        
clientr.items[i][1] += params[2];
        break;
      }
    }
  } 
You shouldn't be using client flags for long strings of data unless you plan to never use the /open command on RC.
__________________
Reply With Quote