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:
|
Re: Round Start Plugin
Suggestions:
Add cvars, random sounds and replace the print chat by hud |
Re: Round Start Plugin
Okey i try to make it :)
|
Re: Round Start Plugin
I think that you should precache sound and add ML in the client_print.
|
Re: Round Start Plugin
Quote:
Quote:
Quote:
|
Re: Round Start Plugin
Quote:
|
Re: Round Start Plugin
Quote:
:crab: Quote:
|
Re: Round Start Plugin
k i correct that and put in zip file
|
Re: Round Start Plugin
Precache the sound.
PHP Code:
PHP Code:
PHP Code:
|
Re: Round Start Plugin
Fixed Bugs read 1 post !
|
Re: Round Start Plugin
Quote:
Code:
|
Re: Round Start Plugin
And whats wrong with that ?
public logevent_round_start(id) { client_cmd(id, "spk %s", ROUND_SOUND) |
Re: Round Start Plugin
Test your plugins before releasing/editing them.
Quote:
PHP Code:
PHP Code:
|
Re: Round Start Plugin
PHP Code:
Code:
|
Re: Round Start Plugin
You obviously cannot support this.
Please learn more about writing plugins before submitting another. Unapproved. @Jon You should NOT use #define for strings. |
Re: Round Start Plugin
Quote:
|
Re: Round Start Plugin
Quote:
2. Play Sound |
Re: Round Start Plugin
The round start is a global event so you cant use (id)... you have to do a loop of maxplayers for that. Or if i am not wrong... you can play the sound to all players with the emit_sound (that i never used it so i am not sure).
|
Re: Round Start Plugin
Quote:
|
Re: Round Start Plugin
Quote:
I don't know the reasoning behind it, but I'm sure if he did it, it had to be for a good reason. |
Re: Round Start Plugin
Okay, thanks.
|
Re: Round Start Plugin
this plugin read only 1 song
|
All times are GMT -4. The time now is 14:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.