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)