
07-08-2001, 12:55 PM
|
|
The one, The only -
|
 |
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
|
|
About SLP's PlayerHouse on 2001
|
well first when you try to get out of the door it keeps on warping you back in... some how you need to fix that.. stefan... or if there is someone else who does it...
then stefan slp and I are wondering if this npc code is alright to have in our playerhouse...
//#CLIENTSIDE
if(created){
this.roomnumb=0;
this.dirs={1,3};
}
if (playertouchsme){
if(strequals(#s(level.account#v(this.roomnumb)),#a )){
if(playerdir==this.dirs[0]||playerdir==this.dirs[1]){
playerx+=vecx(playerdir)*4;
playery+=vecy(playerdir)*4;
}
}else
say2 Room Number #v(this.roomnumb);
}
if(playerchats&&(strequals(#a,KJS)||strequals(#a,s lp))){
tokenize #c;
if(strequals(#t(0),give)&&strequals(#t(1),room)&&s trequals(#t
(2),#v(this.roomnumb))&&strequals(#t(3),to))
setstring level.account#v(this.roomnumb),#t(4);
message #s(level.account#v(this.roomnumb));
}
if so we would like to send in the new player house design.
if this does not work.. then we would have to send you the playerhouse design everytime we give someone a key... so they have their own rooms.... so people cant steal money...
this npc code would make life a lot easier for you and me and slp.... for not having all the hassle to deal with the player house...
|
__________________
Thanks,
-KJL
|
|
|
|