View Single Post
  #34  
Old 02-16-2005, 11:27 PM
Evil_Trunks Evil_Trunks is offline
Evil
Evil_Trunks's Avatar
Join Date: Dec 2004
Posts: 391
Evil_Trunks is on a distinguished road
Quote:
Originally Posted by falco10291029
Here I converted the whole thing to GS2 (serverside of course),
NPC Code:
if (actionserverside) {


NPC Code:
putnpc2 tokens[0],tokens[1],{



also this is wrong:
NPC Code:
          removeweapon(this.weapon);


i think you need to use with() (don't think you can use objects with this command)
NPC Code:
      insertstring(client.messages,0,"you dropped a" @this.weapon);


this is bad too, you should use obj.insert(), and make sure this is in a with() as well, or use the player object
__________________

Reply With Quote