Raised This Month: $32 Target: $400
 8% 

-o- // Model Menü Plugini // Author:ScreamTR*


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
ScreamTR
Junior Member
Join Date: Nov 2011
Old 11-14-2011 , 09:06   -o- // Model Menü Plugini // Author:ScreamTR*
Reply With Quote #1

[IMG]http://img338.**************/img338/862/surfski20000s.png[/IMG]

[IMG]http://img502.**************/img502/9928/surfski20003v.png[/IMG]

Model Menu

Only CT's open this !

Easy Plugin

Thanks Dark Style For Help !

THİS İS TURKISH PLUGIN

Because i am turkish

SMA
Code:
#include <amxmodx>
#include <fun>
#include <cstrike>

#define PLUGIN "Model-Menu"
#define VERSION "1.0"
#define AUTHOR "ScreamTR"


public plugin_init() {
    register_plugin(PLUGIN, VERSION,AUTHOR)
    register_clcmd("say /modelmenu","menu")
    register_clcmd("say_team /modelmenu","menu")
    register_clcmd("say .modelmenu","menu")
    register_clcmd("say modelmenu","menu")
    register_clcmd("say_team modelmenu","menu")
}
public menu(id)
{
    if (cs_get_user_team(id) == CS_TEAM_CT)
    {
    new menu = menu_create("Model-Menu","wybor_menu")
    
    menu_additem(menu,"Sas","1",0)
    menu_additem(menu,"gsg9","2",0)
    menu_additem(menu,"gign","3",0)
    menu_additem(menu,"Urban","4",0)
    menu_setprop(menu,MPROP_EXIT,MEXIT_ALL)
    menu_display(id,menu,0)
}
}
public wybor_menu(id,menu,item)
{

    if(item==MENU_EXIT)
    {
        menu_destroy(menu)
        return PLUGIN_HANDLED
    }

    new data[6], iName[64]
    new access, callback

    menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);

    new key = str_to_num(data)

    switch(key)
    {
        case 1 : {
        cs_set_user_model(id, "sas")
        set_hudmessage(255, 0, 0, -1.0, 0.01)
        show_hudmessage(id, "<Sas Oldun !>")
        console_cmd(id,"say Sas oldum :)")
        
    }
        case 2 : {
        cs_set_user_model(id, "gsg9")
        console_cmd(id,"say Gsg9 oldum :)")
        set_hudmessage(255, 0, 0, -1.0, 0.01)
        show_hudmessage(id, "<Gsg9 Oldun !>")
    }
        case 3 : {
        cs_set_user_model(id, "gign")
        console_cmd(id,"say Gign oldum :)")
        set_hudmessage(255, 0, 0, -1.0, 0.01)
        show_hudmessage(id, "<Gign Oldun !>")
    }
    case 4 :{
        cs_set_user_model(id, "Urban")
        console_cmd(id,"say Urban oldum :)")
        set_hudmessage(255, 0, 0, -1.0, 0.01)
        show_hudmessage(id, "<Urban Oldun !>")
    }
    }
    return PLUGIN_HANDLED
}

Last edited by Arkshine; 11-14-2011 at 09:22.
ScreamTR is offline
TheArmagedon
Senior Member
Join Date: Sep 2010
Location: Unknown Source
Old 11-14-2011 , 09:10   Re: -o- // Model Menü Plugini // Author:ScreamTR*
Reply With Quote #2

post only sma D:
TheArmagedon is offline
ScreamTR
Junior Member
Join Date: Nov 2011
Old 11-14-2011 , 09:12   Re: -o- // Model Menü Plugini // Author:ScreamTR*
Reply With Quote #3

Both of them .sma and .amxx
ScreamTR is offline
Dark Style
BANNED
Join Date: Feb 2011
Location: Brazil
Old 11-14-2011 , 09:21   Re: -o- // Model Menü Plugini // Author:ScreamTR*
Reply With Quote #4

Only .sma, .amxx is not allowed for you.
Dark Style is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-14-2011 , 09:25   Re: -o- // Model Menü Plugini // Author:ScreamTR*
Reply With Quote #5

Removed AMXX file. You are not allowed to upload compiled plugin.

Attach the plugin source instead of showing it.
English is required.
__________________
Arkshine is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-14-2011 , 09:26   Re: -o- // Model Menü Plugini // Author:ScreamTR*
Reply With Quote #6

Actually after looking at the code, it doesn't need to wait.

Plugin doesn't serve really a purpose + poorly coded.

Unapproved.
__________________
Arkshine 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:03.


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