AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   lol? lol lol lol! LOL Forever v.1.2! [May | 03 | 2008] (https://forums.alliedmods.net/showthread.php?t=70748)

rpm 04-30-2008 22:32

lol? lol lol lol! LOL Forever v.1.2! [May | 03 | 2008]
 
3 Attachment(s)
LoL Forever v.1.2!

Descrition: Every time someone says: lol or lool.The server show messages with a lot of LOL's, and play the sound.

Credits: sLy|Cooper for the original idea.

Cvar: amx_lol 1=ON 0=OFF (default is 1)

ChangeLog:

Version 1.2
-
Added the cvar to control the plugin
- Added sound (thanks to fxfighter)
- Added say_team

Version 1.1
- Changed the amx_tsay to HudMessages (thanks to silencer123)
- Optimized (thanks to v3x)

Version 1.0
- Initial release.

_______________________________________

I test it with Counter-Strike 1.6 and AMXX 1.8
The ZIP has the Sound
_______________________________________



BOYSplayCS 05-01-2008 00:44

Re: lol? lol lol lol! LOL Forever! [May | 01 | 2008]
 
Why? What purpose does this really have?

YamiKaitou 05-01-2008 00:55

Re: lol? lol lol lol! LOL Forever! [May | 01 | 2008]
 
Honestly, I do not see any need for this at all. Until you can prove that this would have some use at all, I doubt this will get approved. Plus, it is such a simple script and it is better if you use actual hudmessages instead of amx_tsay

rpm 05-01-2008 10:06

Re: lol? lol lol lol! LOL Forever! [May | 01 | 2008]
 
yeah, i am trying to use Hudmessages... =/

but dont work very well...

YamiKaitou 05-01-2008 10:15

Re: lol? lol lol lol! LOL Forever! [May | 01 | 2008]
 
They work fine. If you want to display 4 at one time, the x and y must be different.

Silencer123 05-01-2008 11:03

Re: lol? lol lol lol! LOL Forever! [May | 01 | 2008]
 
Quote:

Originally Posted by YamiKaitou (Post 619727)
They work fine. If you want to display 4 at one time, the x and y must be different.

Only true if the messages have a different content.
If it is the same the game would somehow allow it. (However that makes sense)
Also, Counter-Strike in special has more than 4 message channels available,
but the people don't seem to know, so they make no use of it.

rpm 05-01-2008 11:34

Re: lol? lol lol lol! LOL Forever! [May | 01 | 2008]
 
yeah ! i do it !

updated, now with hudmassages with the effect Fade in/Fade out


/edit

but its only showing to the player that say "lol" , and not to everyone... =/

Silencer123 05-01-2008 14:04

Re: lol? lol lol lol! LOL Forever v.1.1! [May | 01 | 2008]
 
then use 0 instead of id in the show_hudmessage function

Emp` 05-01-2008 22:34

Re: lol? lol lol lol! LOL Forever v.1.1! [May | 01 | 2008]
 
Code:

new phrase[6][] = { "lol", "llol", "lolz", "loolz", "lool", "loll"}
with the method of how you're checking what they say, there is no point in all 6 of those checks. you would only need to check for "lol" and "lool".

rpm 05-02-2008 00:00

Re: lol? lol lol lol! LOL Forever v.1.1! [May | 01 | 2008]
 
thanks silencer123 !

Emp`, i think its better with this 6 words because some time the player can write wrong

how could i do it better?


All times are GMT -4. The time now is 20:32.

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