AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   how open menu in the start of round (https://forums.alliedmods.net/showthread.php?t=305267)

mosi 02-13-2018 17:47

how open menu in the start of round
 
Hi. I want to create a plugin for VIP guns and I wanna this open at the start of the round for users how can I do it? I know how register user but all of them open with command!

Thanks for your help ♥

Bugsy 02-13-2018 20:06

Re: how open menu in the start of round
 
Quote:

Originally Posted by mosi (Post 2578040)
Hi. I want to create a plugin for VIP guns and I wanna this open at the start of the round for users how can I do it? I know how register user but all of them open with command!

Thanks for your help ♥

Hook spawn and display within that, or if you prefer a delay use set_task() with x interval at spawn.

mosi 02-14-2018 07:57

Re: how open menu in the start of round
 
Quote:

Originally Posted by Bugsy (Post 2578052)
Hook spawn and display within that, or if you prefer a delay use set_task() with x interval at spawn.

I'm really a beginner :oops: , do you have a simple code?

fysiks 02-14-2018 21:07

Re: how open menu in the start of round
 
Try searching. Hooking spawn is one of the most common things done in plugins.


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

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