Thread: Market
View Single Post
  #19  
Old 02-04-2002, 12:40 PM
lordhelmut lordhelmut is offline
Registered User
lordhelmut's Avatar
Join Date: Aug 2001
Posts: 710
lordhelmut is on a distinguished road
Send a message via ICQ to lordhelmut Send a message via AIM to lordhelmut Send a message via Yahoo to lordhelmut
Quote:
Originally posted by Slaktmaster
Something like:
if (playerchats&&strequals(#c,lay down <weaponname>)) {
this.x = {0.5,-0.5,0.5,2.5};
this.y = {-1,1,3,1};
putnpc weaponimage,weaponcode,this.x[playerdir],this.y[playerdir];
destroy;
}

That is just for laying weapons so it would need more code, but it's a good start.
this.x = {0.5,-0.5,0.5,2.5};
this.y = {-1,1,3,1};

what is that