View Single Post
  #6  
Old 03-05-2002, 10:52 AM
Cybnext_Design Cybnext_Design is offline
Registered User
Join Date: Jun 2001
Posts: 244
Cybnext_Design is on a distinguished road
Send a message via AIM to Cybnext_Design
Re: Re: kkk

Quote:
Originally posted by Python523

toweapons works clientsided, addweapon works serversided, also dont do any serversided scripts inside of weapons since they are clientsided
This is pretty much completely incorrect. toweapons causes the weapon to be added to the weapon database. You can put serverside scripts in weapons, but you have to do it a weird way:

serverside part of the weapon:
NPC Code:

if (actionserverside) {
setlevel2 leveltest.graal,30,30;
}



Clientside part of the weapon:
NPC Code:

triggeraction 0,0,serverside,God Ring,warpplayer,#v(this.cursor),;

__________________
Graal2001 NPC Maker
Frolic Owner
Aim: C Y B N E X T