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

[TF2-REQ] Tf2 menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Pootisbird
Junior Member
Join Date: Jan 2013
Location: Germany
Old 01-13-2013 , 09:43   [TF2-REQ] Tf2 menu
Reply With Quote #1

TF2 PREMIUM MENU

I already have the needet plugins

The pictures are from here:
https://forums.alliedmods.net/showthread.php?t=205599

Thanks to Erreur 500

Can someone script me a menu?
like this:
http://www.imgbox.de/show/img/958F6IeVCz.png



or : http://www.imgbox.de/show/img/PInqQyrtqC.png




When i write in chat !premium
or in console sm_premium opens a menu

When i press1 it should open the command !unusual

2: !robot

3: sm_remote_on on second pressing sm_remote_off

4: sm_setspeed @me 420 second pressing sm_resetspeed @me

5: sm_spyvision

6: sm_givepiss @me 5

7: sm_giveballs @me 5

8: sm_setmetal @me 1000

9: sm_arrows @me 1



Thats the commands ... the text:

1: Add / Unusual effects

2 :Robot On/Off

3: Start/Stop Remote SG

4:Speed On/Off

5:SpyVision On/Off

6: 5 Jarates

7: 5 Sandman Balls


8: Give 1000 Metal (Only engy)

9: Turns Explosive Arrows on/off
(Huntsman/Crusaders)
__________________


Pootisbird is offline
Erreur 500
Senior Member
Join Date: Aug 2012
Location: Paris, France
Old 01-13-2013 , 10:45   Re: [TF2-REQ] Tf2 menu
Reply With Quote #2

This is only for create a menu. The base of your plugin idea.


PHP Code:
mymenu(Client)
{
new 
Handle:Menu CreateMenu(MenuAnswer);
SetMenuTitle(Menu" your text ");
AddMenuItem(MenuString:args[] , " your option 1 ");
AddMenuItem(MenuString:args[] , " your option 2 ");
     
// .   .   .
AddMenuItem(MenuString:args[] , " your option n ");
 
SetMenuExitButton(Menutrue );                                 // if you want exit button
DisplayMenu(MenuClientTime for disappear);
}
 
 
 
 
public 
MenuAnswer(Handle:menuMenuAction:actionClientargs)
{
 
          if (
action == MenuAction_End)
          {
                   
CloseHandle(menu);
          }
          else if (
action == MenuAction_Select)
          {
                  if(
args == ...)
                  {
                         
//your commands
                  
}
         }       

__________________
My public creation : PortalMod - Free Duels - Unusual Effects - Particle fireworks - !stuck

Need private plugin ? We can found an agreement !
Steam : Erreur 500

Last edited by Erreur 500; 01-13-2013 at 10:47.
Erreur 500 is offline
Pootisbird
Junior Member
Join Date: Jan 2013
Location: Germany
Old 01-13-2013 , 12:42   Re: [TF2-REQ] Tf2 menu
Reply With Quote #3

:O What have i to do with it?
__________________


Pootisbird 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 05:12.


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