View Single Post
  #8  
Old 05-03-2009, 06:22 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Raelyn View Post
Solved myself with

PHP Code:


this
.inv_shown 1;

if (
keypressed) {
   if (
strequals(#p(1),I)){
      
Inventory();
   }


function 
Inventory(){

  if (
this.inv_shown == 0){

    
// inventory pane
    
showimg 209;
    
this.inv_shown 1;

  } else {

    
hideimg 209;
    
this.inv_shown 0;
  }

Be sure to convert that to GS2...
Quote:
I have another question though, I am trying to change profilevars in server options, and I have

PHP Code:
profilevars=Level:=#v(clientr.level), 
You don't need #v, just (for example):
PHP Code:
profilevars=Level:=clientr.level,HP:=clientr.hp 
Quote:
Originally Posted by Raelyn View Post
Mmm, ok thanks. I was just having someone test me script, and I have it calling replaceani in clientside, so his client is not downloading the ganis from the server. But if I put the replaceani in serverside, the RC reports an error that the server doesn't know that command... So, what command does it understand to get new ganis for the player?
What do you mean, like download them? Just displaying the animations will download them, but if you really want you can use update packages.
__________________
Reply With Quote