AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [Req] Delayed Welcome Menu (https://forums.alliedmods.net/showthread.php?t=83926)

kobo1d 01-17-2009 16:35

[Req] Delayed Welcome Menu
 
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 01-18-2009 09:53

Re: [Req] Delayed Welcome Menu
 
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

SirLamer 01-19-2009 12:36

Re: [Req] Delayed Welcome Menu
 
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.

kobo1d 01-19-2009 16:39

Re: [Req] Delayed Welcome Menu
 
hmm thx, thats a nice idea! i will try to do sumthing like you wrote..
let me see if i really CAN :)


All times are GMT -4. The time now is 12:50.

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