Raised This Month: $12 Target: $400
 3% 

[ANY] Raffle


Post New Thread Reply   
 
Thread Tools Display Modes
NuclearWatermelon
Junior Member
Join Date: Jun 2010
Old 03-24-2011 , 23:28   Re: [ANY] Raffle
Reply With Quote #31

Quote:
Originally Posted by Unreal1 View Post
Any sounds when the winner is announced?
No sir, no sounds are played.
NuclearWatermelon is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 05-31-2011 , 11:53   Re: [ANY] Raffle
Reply With Quote #32

Sounds would be great since it seems a lot of people miss the chat notifications and ask: "Who won? Did I win?? Did you run it yet?"
Thraka is offline
SmackDaddy
Veteran Member
Join Date: Oct 2009
Old 05-31-2011 , 20:30   Re: [ANY] Raffle
Reply With Quote #33

One thing I'd like to know is if we could get this mod changed to print the winner in the middle of the screen. (Our players were requesting this) and I am unsure how to change the .sp source file to make this happen.....anyone can help with this? THanks.
SmackDaddy is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 05-31-2011 , 21:23   Re: [ANY] Raffle
Reply With Quote #34

http://docs.sourcemod.net/api/index....d=show&id=117&
Can probably replace the printtochatall with it. Simple enough.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
NuclearWatermelon
Junior Member
Join Date: Jun 2010
Old 06-18-2011 , 23:05   Re: [ANY] Raffle
Reply With Quote #35

Quote:
Originally Posted by SmackDaddy View Post
One thing I'd like to know is if we could get this mod changed to print the winner in the middle of the screen. (Our players were requesting this) and I am unsure how to change the .sp source file to make this happen.....anyone can help with this? THanks.
Sorry, was away on vacation.

That said, this is v0.9-a of raffle which will print to the center of the screen to announce the winner. I will have it be an option in the next version when I have time to make it.

I'll also add support for sounds in the next version.



And not to sound to ungrateful, but if a moderator could tell me what it is that I still need to do in order for my plugin to be approved, I would be very grateful.
Attached Files
File Type: sp Get Plugin or Get Source (raffle.sp - 138 views - 6.3 KB)
File Type: smx raffle.smx (8.5 KB, 154 views)
NuclearWatermelon is offline
j0k4w1ld
Member
Join Date: Jul 2010
Old 06-24-2011 , 06:12   Re: [ANY] Raffle
Reply With Quote #36

add a image of this please
__________________
------------------------------------------------
j0k4w1ld is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 10-27-2011 , 18:11   Re: [ANY] Raffle
Reply With Quote #37

Here is a version that has cvars for center winner announce and plays a sound when winner.

Put the mp3 file in your tf/sound directory on your server.

Part of the sound was pulled from this: http://www.gamebanana.com/sounds/16147
Attached Files
File Type: zip raffle.zip (175.6 KB, 166 views)
Thraka is offline
hobart
Member
Join Date: Dec 2011
Old 12-04-2011 , 04:53   Re: [ANY] Raffle
Reply With Quote #38

Hi, I see it's been some time since this posting was updated I was wondering if the plugin is still being supported by the author?
I'm using this plugin and love it the only thing for me is I cannot use the sm admin menu to do anything raffle related I copied the text from the adminmenu_custom_additions.txt to the adminmenu_custom.txt file and i get an addition to the menu that says assign ticket, when i push the correlating number it opens a mostly blank menu that has just "1. 1" as a choice, nothing more. When i push 1 that selection on the menu just "blinks" doesn't bring up any other menus. Did I do something wrong? I did make sure the txt file was empty before copying the addition over. I'm trying to run raffles daily but using the console is tedious and demotivating. Please help I love this plugin would love to support it somehow if it were fixed.
hobart is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 01-08-2012 , 12:27   Re: [ANY] Raffle
Reply With Quote #39

My !admin menu works fine in TF2, hobart. I'll paste a stripped down version of what I use for adminmenu_custom.txt

Code:
"Commands"
{
	"Raffle"
	{
		"admin"				"sm_ban"
		"Assign Ticket"
		{
			"cmd"				"sm_raffle_assign #1"
			"admin"			"sm_raffle_assign"
			"execute"			"player"
			"1"
			{
				"type"			"player"
				"method"		"name"
				"title"		"Assign Raffle Ticket"
			}
		}
		"Remove Ticket"
		{
			"cmd"				"sm_raffle_remove #1"
			"admin"			"sm_raffle_remove"
			"execute"			"player"
			"1"
			{
				"type"			"player"
				"method"		"name"
				"title"		"Remove Raffle Ticket"
			}
		}
		"List Raffle Tickets"
		{
			"cmd"				"sm_raffle_list"
			"admin"			"sm_raffle_list"
			"execute"			"player"
		}
		"Cancel Raffle"
		{
			"cmd"				"sm_raffle_cancel"
			"admin"			"sm_raffle_cancel"
			"execute"			"player"
		}
		"Perform Raffle"
		{
			"cmd"				"sm_raffle"
			"admin"			"sm_raffle"
			"execute"			"player"
		}
	}
}
11530 is offline
hobart
Member
Join Date: Dec 2011
Old 01-11-2012 , 03:47   Re: [ANY] Raffle
Reply With Quote #40

11530, you are the greatest! Thank you so much.
That works perfectly! I don't know a thing about writing this stuff, but i think i need to learn. Now, if i could just get that @all thing to work... but i don't think i'm even concerned at the moment with that, thank you again!!! This has made my century! if I owe you anything please let me know.
hobart is offline
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:34.


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