Raised This Month: $94 Target: $400
 23% 

Cheer :-)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff        Approver:   Orangutanz (13)
TheRadiance
Senior Member
Join Date: Nov 2007
Location: Kazakhstan
Old 04-22-2008 , 04:47   Cheer :-)
Reply With Quote #1

Cheer v 0.3a by TheRadiance
The developers of HL haven't made this feature :-)
This plugin will show Cheer sprite above the player.

Commands:
+cheer - You may bind it on an any key you want. Example bind l +cheer
when you prees l cheer will show

Cvars:
cheer_access 1|0
if access set to 0, every player can use Cheer.
if access set to 1, only admins with ADMIN_CHAT can user cheer.
Installation:
- cheer.amxx in /plugins/
- smile.spr in /sprites/
- woohoo2.wav in /yourmod/sound/misc/

GL & HF
Sorry for my bad English
Attached Thumbnails
Click image for larger version

Name:	screen.JPG
Views:	420550
Size:	12.8 KB
ID:	25953  
Attached Files
File Type: zip smile.zip (6.0 KB, 7596 views)
File Type: sma Get Plugin or Get Source (cheer.sma - 12119 views - 1.2 KB)

Last edited by TheRadiance; 04-24-2008 at 11:31.
TheRadiance is offline
Send a message via ICQ to TheRadiance
Rumba
Member
Join Date: Aug 2007
Location: Hollywood
Old 04-22-2008 , 05:06   Re: Cheer :-)
Reply With Quote #2

Simple and nice , good job !
+ karma
Rumba is offline
TheRadiance
Senior Member
Join Date: Nov 2007
Location: Kazakhstan
Old 04-22-2008 , 05:21   Re: Cheer :-)
Reply With Quote #3

thnx
TheRadiance is offline
Send a message via ICQ to TheRadiance
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 04-22-2008 , 07:58   Re: Cheer :-)
Reply With Quote #4

Lol, nice.

I always attempted to use the cheer command but it never worked.

Anyway I like this.
BOYSplayCS is offline
TheRadiance
Senior Member
Join Date: Nov 2007
Location: Kazakhstan
Old 04-22-2008 , 08:08   Re: Cheer :-)
Reply With Quote #5

Cheer is a standart feature in HL1 mod, but it doesn't work by default and i decided to make it work
TheRadiance is offline
Send a message via ICQ to TheRadiance
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 04-22-2008 , 08:10   Re: Cheer :-)
Reply With Quote #6

Yea I always tried it and it never worked. Simple code and plugin, nice job.
BOYSplayCS is offline
salton_90
Junior Member
Join Date: Mar 2008
Old 04-22-2008 , 08:20   Re: Cheer :-)
Reply With Quote #7

Gj +karma
salton_90 is offline
[X]-RayCat
Senior Member
Join Date: Sep 2006
Old 04-22-2008 , 08:59   Re: Cheer :-)
Reply With Quote #8

There is plugin called Admin Sprite Show, which does the same..
[X]-RayCat is offline
TheRadiance
Senior Member
Join Date: Nov 2007
Location: Kazakhstan
Old 04-22-2008 , 09:55   Re: Cheer :-)
Reply With Quote #9

Quote:
There is plugin called Admin Sprite Show, which does the same..
It does another, you need to target a player and set time. In my plugin there is a specified event. You just need to push a bounded button, and ' :-) ' will show. I just made HL1 feature.
TheRadiance is offline
Send a message via ICQ to TheRadiance
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 04-22-2008 , 10:51   Re: Cheer :-)
Reply With Quote #10

Code:
public cmdCheer1(id)
{
	if(	(!get_pcvar_num(accessCvar) && is_user_alive(id))
	||	access(id, ADMIN_CHAT) ){
		message_begin(MSG_ALL, SVC_TEMPENTITY)
		write_byte(124)
		write_byte(id)
		write_coord(35)
		write_short(sprite)
		write_short(100)
		message_end()
	}
	return PLUGIN_HANDLED
}

public cmdCheer0(id)
{
	message_begin(MSG_ALL,SVC_TEMPENTITY)
	write_byte(125)
	write_byte(id)
	message_end()
	return PLUGIN_HANDLED
}
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
Reply


Thread Tools
Display Modes

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 02:03.


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