Raised This Month: $ Target: $400
 0% 

Amx_FTS


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Trethy
Member
Join Date: Jun 2011
Old 07-31-2011 , 17:17   Amx_FTS
Reply With Quote #1

Hi folks!
Can you guyz help me with this code please?
  • White text
  • Fuck the simon should be red
  • How do i add deagle + he to the numbers?
  • How do i make a script that remove the menu at new round?
  • How do i make so only admins will be able to use "amx_fts"? :S

Please add me at steam if u can help me with more codes!!!.
Steamname:
umadbro000
Thank you!



PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>

public plugin_init()  {
    
register_plugin("Fuck_the_simon_Menu""1.0""AMXX COMUNITY")
    new 
keys MENU_KEY_0|MENU_KEY_1|MENU_KEY_2
    register_menucmd
(register_menuid("Fuck The Simon"), keys"giveWeapon")
    
register_clcmd("amx_fts""showWeaponMenu")
}

public 
showWeaponMenu(id)
{
    new 
menu[192]
    new 
keys MENU_KEY_0|MENU_KEY_1|MENU_KEY_2
    format
(menu191"Fuck The Simon^n^n1. AK47^n2. M4A1^n3. AWP")
    
show_menu(idkeysmenu)
    return 
PLUGIN_HANDLED
}

public 
giveWeapon(idkey)
{
    if (
key == 0)
    {
         
give_item(id"weapon_ak47")
    } else if (
key == 1) {
         
give_item(id"weapon_m4a1")
    } else if (
key == 2) {
         
give_item(id"weapon_awp")
    } else if (
key == 3) {
    }

__________________
Im new at coding..
And i need things for my jailbreak server

But no one help me..
Trethy is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-31-2011 , 17:28   Re: Amx_FTS
Reply With Quote #2

I already told you the answer to some of these.

Also, I forgot to mention, that you should look in a plugin that has an admin command and see how it's done (to prevent non-admins from using the function) or you can use is_user_admin().
__________________
fysiks is offline
Trethy
Member
Join Date: Jun 2011
Old 07-31-2011 , 18:56   Re: Amx_FTS
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
I already told you the answer to some of these.

Also, I forgot to mention, that you should look in a plugin that has an admin command and see how it's done (to prevent non-admins from using the function) or you can use is_user_admin().
Yes, but its not just you on this community.
You can find more ppl. Thanks anyways..


Now i'm waiting for more answers!
__________________
Im new at coding..
And i need things for my jailbreak server

But no one help me..
Trethy is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-31-2011 , 22:44   Re: Amx_FTS
Reply With Quote #4

Quote:
Originally Posted by Trethy View Post
Yes, but its not just you on this community.
You can find more ppl. Thanks anyways..


Now i'm waiting for more answers!
Well, do what you can with the information I gave you and then post your updated code. Don't just waste your time waiting for others to reply. The more you are willing to try the more you will get help.
__________________
fysiks is offline
Trethy
Member
Join Date: Jun 2011
Old 08-01-2011 , 09:29   Re: Amx_FTS
Reply With Quote #5

But can someone make his code?
I tryed but i cant
__________________
Im new at coding..
And i need things for my jailbreak server

But no one help me..
Trethy is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-01-2011 , 19:47   Re: Amx_FTS
Reply With Quote #6

Guess you need to start posting in the requests section.
__________________
fysiks 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 03:31.


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