View Single Post
  #33  
Old 02-16-2005, 10:35 PM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
Here I converted the whole thing to GS2 (serverside of course), it gives me the error still, heree's what it looks like (since I cant edit my old 1 for some reason):
NPC Code:

if (actionserverside) {
tokens=params[0].tokenize();
if (!params[1].starts("*")&&!contains(params[1],"staff")&&!params[1].starts("subclass/")) {
putnpc2 tokens[0],tokens[1],{
this.image=tokens[2];
this.player=tokens[3];
this.class=tokens[4];
this.weapon=tokens[5];
setimg("block.png");
chat=this.weapon;
if (this.image.length()>=2) setimg(this.image);
for (pl: allplayers) {
if (pl.account==this.player) {
removeweapon(this.weapon);
insertstring(client.messages,0,"you dropped a" @this.weapon);
}
}
}

function onPlayerTouchsMe() {
addweapon(this.weapon);
destroy;
}
};

__________________
BEst Insult ever: If I had a dollar for every brain you DIDNT have, i'd have one dollar!
Reply With Quote