Quote:
Originally Posted by Raelyn
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
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.