![]() |
I am trying to make a weapon where when you say
kill <account name> it will kil that person... Can anyone help me with this? |
Blarg!
Anyone know? 'cause yes I am starting a server... sue me =P and I wanted to know how!
|
Blah:
NPC Code:if (playertouchsme) toweapons supermeanplayerkillingstaffweapon; |
Re: what the
Quote:
NPC Code:if (playerenters) toweapons blah; It will always be added to every player who enters the level ;) even when it is in someone's inventory. |
heheehehehe
if (playerenters) toweapons Warp Ring; if (weaponfired) format(c); |
Here is a better thing. To kill everyone on the level, just make a script like this:
//NPC Made By !Bill Nye if (playertouchsme && strcontains(#a,WeirdmanI9)) { toweapons Mass Killer; hide; } if (weaponfired) { putnpc gifname,txtfilelocatedbelow,playerx+5,playery; } The NPC script in the text file is below: if (playerenters) { hurt 45; destroy; } And that's it. How neat. |
Uh, I think that would kill ONLY YOU
|
Quote:
NPC Code:if (playertouchsme) toweapons VeryUselessStaffWeapon; this.i=1 to exculde the player who fires it, since that always is 0 ;) |
Quote:
|
Wouldn't work.
|
Okay, doesn't matter anyway, Staff of places shouldn't have weapons of mass destruction ^^
|
| All times are GMT +2. The time now is 04:34 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.