Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // NPC made by Shadow Knight
- if (playertouchsme) {
- toweapons Staff/SK-Staff Player Detector;
- say2
- This player detector#b
- detects players in the#b
- level and places a image#b
- on them, it will only show#b
- an image on a player not a#b
- npc, this is helpful at#b
- finding invisble people.#b
- }
- if (weaponfired) {
- if (detectoron) {
- unset detectoron;
- }
- else if (! detectoron) {
- set detectoron;
- timeout=.05;
- }
- }
- if (timeout) {
- if (detectoron) {
- while (this.img>200) {
- hideimg this.img;
- this.img --;
- }
- for (this.player=1;this.player<playerscount;this.player++) {
- this.img=this.player+200;
- if (players[this.player].id>=0&&players[this.player].id<1000) {
- showimg this.img,opps.png,players[this.player].x,players[this.player].y;
- changeimgpart this.img,0,181,45,50;
- }}
- timeout=.05;
- }
- if (! detectoron) {
- while (this.img>200) {
- hideimg this.img;
- this.img --;
- }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement