AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Round Start Plugin (https://forums.alliedmods.net/showthread.php?t=104495)

DoviuX 09-24-2009 10:15

Round Start Plugin
 
3 Attachment(s)
Hi it's my first plugin for cs 1.6.

.:What does it do ?:.

When the round start it rings a bell and writes to every player:
" The Ultimate Battle Has begun! "

I think it will be good on gungame , public , paintball mods .

_____________________________________________ ________

So try it and say is it good for my first plugin or not :/

Sorry for bad english iam lithuanian .

Code:


V1.1 Fixed bugs : precached sound , now it's hud messege added more sounds.
V1.0 Released Plugin.


alan_el_more 09-24-2009 10:29

Re: Round Start Plugin
 
Suggestions:
Add cvars, random sounds and replace the print chat by hud

DoviuX 09-24-2009 10:46

Re: Round Start Plugin
 
Okey i try to make it :)

lucas_7_94 09-24-2009 11:12

Re: Round Start Plugin
 
I think that you should precache sound and add ML in the client_print.

DoviuX 09-24-2009 11:39

Re: Round Start Plugin
 
Quote:

Originally Posted by alan_el_more (Post 942240)
Suggestions:
Add cvars

Cvars for what ? Turn On / Off ?

Quote:

by hud
made that

Quote:

precache sound
I think it's not needed i tested works without pecache .

xbatista 09-24-2009 11:43

Re: Round Start Plugin
 
Quote:

Originally Posted by DoviuX (Post 942275)
I think it's not needed i tested works without pecache .

You must!

DarkGod 09-24-2009 11:44

Re: Round Start Plugin
 
Quote:

For packages, use only zip, [tar.]gz, [tar.]bz2. Plugins using other compression formats should not be approved, this includes RAR and 7z.
:crab:
Quote:

Originally Posted by DoviuX
I think it's not needed i tested works without pecache .

Did someone else, who did not have the sound, play during the time and if so, could he hear the sound?

DoviuX 09-24-2009 11:48

Re: Round Start Plugin
 
k i correct that and put in zip file

Jon 09-24-2009 11:49

Re: Round Start Plugin
 
Precache the sound.

PHP Code:

new const ROUND_SOUND[] = { "RoundStart/Start.wav" 

Use a define.

PHP Code:

public logevent_round_start(id

There is no index passed in this event. Use 0 as index.

PHP Code:

Redundant 


DoviuX 09-24-2009 12:06

Re: Round Start Plugin
 
Fixed Bugs read 1 post !


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

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