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

[Req] Delayed Welcome Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kobo1d
Member
Join Date: Jul 2008
Old 01-17-2009 , 16:35   [Req] Delayed Welcome Menu
Reply With Quote #1

Hi there.. i just wondered if its possible to make a welcome menu delayed..
Im also running zblock and i want the clients to get it dispalyed first on connect..
then after 1 minute or 30 seconds the configureable welcome menu pops up.. people have to agree and press a number, or get kicked if not..

like the Rules Menu plugin just with a delay for connecting clients..


plz help
kobo1d is offline
kobo1d
Member
Join Date: Jul 2008
Old 01-18-2009 , 09:53   Re: [Req] Delayed Welcome Menu
Reply With Quote #2

or can anybody tell me plz, what is the wait command for sourceprawn ?!
which makes a configureable delay.. like "wait 10" delays the execution for 10 seconds..

i can modify the original plugin then for myself.. just need sumthing like a wait command
kobo1d is offline
SirLamer
Senior Member
Join Date: Oct 2008
Old 01-19-2009 , 12:36   Re: [Req] Delayed Welcome Menu
Reply With Quote #3

The plugin "Map Rate" has a similar feature, where the player is invited to rate a map after having played it for a little while. I think you should check out how FLOOR_MASTER achieves this in his Map Rate plugin:
http://forums.alliedmods.net/showthread.php?p=607727

A simple method would be to save the server time when the player joins then hook to some game event with a function that checks to see is a defined time interval has passed since that played joined. This would not require any sort of "wait" feature. Plus, it would allow you to bring up the welcome menu in coordination with some context where the player would not be disrupted by it popping up. For example, hook to Event_PlayerDeath and call the welcome menu up a couple seconds after the player's first death.
SirLamer is offline
kobo1d
Member
Join Date: Jul 2008
Old 01-19-2009 , 16:39   Re: [Req] Delayed Welcome Menu
Reply With Quote #4

hmm thx, thats a nice idea! i will try to do sumthing like you wrote..
let me see if i really CAN
kobo1d is offline
Reply



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 14:24.


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