View Single Post
  #12  
Old 08-25-2004, 12:17 AM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
I can do something with triggeraction and a putnpc2


NPC Code:

if (actionserverside) {

putnpc2 strtofloat(#p(0)),strtofloat(#p(1)),{

//stuff happens here

}



}


//#CLIENTSIDE
if (weaponfired) {
triggeraction 0,0,serverside,weponname,#v(playerx+vecx(playerdir )*2+1.5),#v(playery+2+vecy(playerdir)*2);
}





There I didn't check over it so there may be spelling errors but that should do the trick.
__________________
BEst Insult ever: If I had a dollar for every brain you DIDNT have, i'd have one dollar!
Reply With Quote