AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   AWP Crosshair (https://forums.alliedmods.net/showthread.php?t=52934)

hip_hop_x 03-22-2007 13:29

AWP Crosshair
 
1 Attachment(s)
AWP Crosshair
Author : Hip_hop_x
Version : 1.1b

Changelog :
Version 1.0, first release
Version 1.1: optimized and fixed one bug
Version 1.1b: optimized allot more, thanks to stupok69, also added a screen shake.


Plugin details :
With this plugin, awp will have a half-life crosshair.

•Cvars:
awp_crosshair - Enable / Disable the plugin.
awp_shake - Enable / Disable the screen shake
1 = Enabled (default).
0 = Disabled.

•Required Modules:
- Engine

Alka 03-22-2007 13:47

Re: AWP Crosshair
 
Nice...Gj! works great. :wink:

Sondr3h 03-22-2007 16:52

Re: AWP Crosshair
 
I love it! Well done! :)

Da_sk8rboy 03-22-2007 21:57

Re: AWP Crosshair
 
How about a screenshot?

jim_yang 03-23-2007 01:32

Re: AWP Crosshair
 
Code:
#include <amxmodx> new g_pcvarCrosshair new g_msgCrosshair public plugin_init() {         register_event("CurWeapon", "hook_curweapon", "b", "1=1", "2=18")         g_pcvarCrosshair = register_cvar("awp_crosshair", "1")         g_msgCrosshair = get_user_msgid("Crosshair") } public hook_curweapon(id) {         if(get_pcvar_num(g_pcvarCrosshair))         {                 message_begin(MSG_ONE, g_msgCrosshair, {0, 0, 0}, id)                 write_byte(1)                 message_end()         } }

hip_hop_x 03-23-2007 03:50

Re: AWP Crosshair
 
what's 2=18 from CurWeapon. Awp weapon?

SAMURAI16 03-23-2007 10:37

Re: AWP Crosshair
 
Quote:

Originally Posted by hip_hop_x (Post 455781)
what's 2=18 from CurWeapon. Awp weapon?

Yes

godlike 03-23-2007 13:39

Re: AWP Crosshair
 
Show me a screenshot plz.

hip_hop_x 03-25-2007 16:05

Re: AWP Crosshair
 
I'll post some screenshots, after I'll update the plugin.( in 2 or 3 days )

datwinkle 03-26-2007 22:13

Re: AWP Crosshair
 
I tested this on Condition Zero. Working 100% Correctly.

Hip Hop, here are some suggestions for future releases.
- Colored Crosshair CVAR (Allows admin to change crosshair colors using a command)
- Crosshairs will go to default Counter-Strike crosshairs(Not the Half-Life ones)

NOTE: This plugin is not 100% accurate look on the noscope screenshots and see the bullet goes around the crosshairs.

Here some screenshots of current released AWP Crosshair.
No Scoped
http://i72.photobucket.com/albums/i1...ust_cz0004.jpg
No Scoped 2
http://i72.photobucket.com/albums/i1...ust_cz0003.jpg
Scoped
http://i72.photobucket.com/albums/i1...ust_cz0002.jpg
Double Scoped
http://i72.photobucket.com/albums/i1...ust_cz0001.jpg


All times are GMT -4. The time now is 08:01.

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