Thread: hehehehe
View Single Post
  #7  
Old 10-01-2001, 09:03 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Re: hehehehe

Quote:
Originally posted by Metal-Slug
im trying to make it so that if i say die <account> without the <>'s it will kill that account, i have no idea how to start this, i was just wondering if someone could tell me how or post it
uhh youw would have to have it were the player who was being killed would have an NPC and the person who wants him dead having a NPC and here is what it would be:

NPC Code:

Killer:
if (created) {
toweapons Kill Other Player;
}
if (playerchats && startswith(die)) {
if (hasweapon(Kill Other PLayer)) {
tokenize #c;
setstring server.kill,#t(1);
}
}

Victim:
if (strequals(#a,#s,server.kill)) {
playerhearts=0;
setstring server.kill, ;
}


That would work ... (i think)

Last edited by nyghtGT; 10-01-2001 at 09:05 AM..
Reply With Quote