AlliedModders

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

TheRadiance 04-22-2008 03:47

Cheer :-)
 
3 Attachment(s)
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 :)

Rumba 04-22-2008 04:06

Re: Cheer :-)
 
Simple and nice , good job !
+ karma

TheRadiance 04-22-2008 04:21

Re: Cheer :-)
 
thnx :)

BOYSplayCS 04-22-2008 06:58

Re: Cheer :-)
 
Lol, nice.

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

Anyway I like this.

TheRadiance 04-22-2008 07:08

Re: Cheer :-)
 
Cheer is a standart feature in HL1 mod, but it doesn't work by default and i decided to make it work :)

BOYSplayCS 04-22-2008 07:10

Re: Cheer :-)
 
Yea I always tried it and it never worked. Simple code and plugin, nice job.

salton_90 04-22-2008 07:20

Re: Cheer :-)
 
Gj +karma

[X]-RayCat 04-22-2008 07:59

Re: Cheer :-)
 
There is plugin called Admin Sprite Show, which does the same.. :)

TheRadiance 04-22-2008 08:55

Re: Cheer :-)
 
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.

Emp` 04-22-2008 09:51

Re: Cheer :-)
 
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
}



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

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