Raised This Month: $ Target: $400
 0% 

Enemy Alert


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:          Approver:   Geesu (62)
PIE
Senior Member
Join Date: Nov 2004
Location: California
Old 12-09-2005 , 20:00   Enemy Alert
Reply With Quote #1

ENEMY ALERT
by PIE

(my first plugin)

What it does:

This plugin can have serveral different uses.

-When you see an ENEMY it will alert the user with name and alert sound will play.

-When an enemy sees you it will alert the person being seen with the enemy name with alert sound.

-When you see an team member It will show message with name.

-When an team member looks at you it will show a message with ally name.


Cvars:

sv_enemyalert (toggles it on or off)

Tested on:

-Windows xp home / 98

-Counter-Strike 1.6

-AMXX 1.60

I accept:

Because this is my first plugin Its cool if you give me criticism, tips, hints, or just any way I can improve or any way my plugin can improve.

MAJOR THANKS TO:

-VEN for all the major help with checking my code that so many times

-v3x for starting me off.

-SweatyBanana for the idea.

Current Version:

Version 1.0



just add emegency sound to misc folder
MUST DOWNLOAD BOTH FILES PLUGIN NOT IN ZIP
Attached Files
File Type: sma Get Plugin or Get Source (enemyalert.sma - 2827 views - 2.0 KB)
File Type: zip enemy_alert_sound.zip (12.8 KB, 1684 views)
__________________
My First Plugin...
http://www.immortalgamers.com/
Good Servers Good Ping Good People

The Christmas Goblins Ate My Sig *Sob*
PIE is offline
Send a message via AIM to PIE
eFrigid
Senior Member
Join Date: Aug 2005
Location: 3o3
Old 12-09-2005 , 20:22  
Reply With Quote #2

Post the sma not amxx ;) But other tahn that cool!
__________________
lol
eFrigid is offline
Send a message via AIM to eFrigid Send a message via MSN to eFrigid Send a message via Skype™ to eFrigid
PIE
Senior Member
Join Date: Nov 2004
Location: California
Old 12-09-2005 , 23:53  
Reply With Quote #3

ya im sorry i was in a rush

I selected the amxx file on accident and forgot to put the sound file on

but ya ill update it now
__________________
My First Plugin...
http://www.immortalgamers.com/
Good Servers Good Ping Good People

The Christmas Goblins Ate My Sig *Sob*
PIE is offline
Send a message via AIM to PIE
eFrigid
Senior Member
Join Date: Aug 2005
Location: 3o3
Old 12-10-2005 , 00:07  
Reply With Quote #4

Cool nice job!

Will use in a few 8-)
__________________
lol
eFrigid is offline
Send a message via AIM to eFrigid Send a message via MSN to eFrigid Send a message via Skype™ to eFrigid
pulpy
Senior Member
Join Date: Oct 2005
Location: Brights Grove, ON
Old 12-10-2005 , 00:09  
Reply With Quote #5

ya i tried it, its really cool, and can help you out.. only suggestion is possibly make it so that the nme dusnt hear a sound when u look at him, but you do..

otherthen that, very well done ;) +karma
__________________
pulpy is offline
PIE
Senior Member
Join Date: Nov 2004
Location: California
Old 12-10-2005 , 00:17  
Reply With Quote #6

Cool!

Tell me what you think, I wanna hear anything you have to say!


Pulpy, Ill look into adding a new cvar to toggle that option on and off

Thanks for the replies
__________________
My First Plugin...
http://www.immortalgamers.com/
Good Servers Good Ping Good People

The Christmas Goblins Ate My Sig *Sob*
PIE is offline
Send a message via AIM to PIE
pulpy
Senior Member
Join Date: Oct 2005
Location: Brights Grove, ON
Old 12-10-2005 , 00:26  
Reply With Quote #7

great lets hope it gets approved
__________________
pulpy is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 12-10-2005 , 11:03  
Reply With Quote #8

So your final version use client_prethink instead of an event?
VEN is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 12-10-2005 , 11:16  
Reply With Quote #9

Fix it, it doesn't even compile.
Quote:
error 001: expected token: "}", but found "-end of file-"
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 12-10-2005 , 11:20  
Reply With Quote #10

Quote:
Originally Posted by VEN
So your final version use client_prethink instead of an event?
Yeah. It was a hint like: "man, you have upload a wrong version!" :)
VEN is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:05.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode