View Single Post
  #12  
Old 05-26-2004, 04:13 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by Salaisuus
Whats the

if ( strequals( #p(1),drop )

part for exactly?

I cant get it to work, I cant get anything to work. You people confuse me.
It goes in the serverside part of the script (before //#CLIENTSIDE)
For example,
NPC Code:
If (actionserverside) {
if (strequals(#p(1),drop)) {
putnpc2 playerx,playery,{ //script or class (like join CLASSNAME);};
}
}



In the clientside part it would just be:
NPC Code:
triggeraction 0,0,serverside,WEAPONNAME,drop;




NOTE: This will only work for weapons. And you don't NEED to use a parameter for this one, just that you asked so I answered .
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote