Raised This Month: $ Target: $400
 0% 

Request award


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
indradullanov
Member
Join Date: Sep 2012
Location: Indonesian
Old 04-27-2013 , 05:44   Request award
Reply With Quote #1

Only CT

1. Respawn = 3 Frags
2. Gravity = 1 Frags [ 1 rounde ]
3. Godmode = 12 Second with hud 2 Frags


thx before
indradullanov is offline
Send a message via Yahoo to indradullanov
darcadarca
Senior Member
Join Date: Feb 2012
Location: Romania
Old 04-27-2013 , 05:53   Re: Request award
Reply With Quote #2

like kind of shop ?
__________________
hqqqqqqqq
darcadarca is offline
Send a message via Yahoo to darcadarca
indradullanov
Member
Join Date: Sep 2012
Location: Indonesian
Old 04-27-2013 , 05:57   Re: Request award
Reply With Quote #3

/award
indradullanov is offline
Send a message via Yahoo to indradullanov
Unkolix
Veteran Member
Join Date: Sep 2012
Old 04-27-2013 , 05:57   Re: Request award
Reply With Quote #4

Quote:
Originally Posted by darcadarca View Post
like kind of shop ?
He's asking for someone to make this plugin...
Unkolix is offline
darcadarca
Senior Member
Join Date: Feb 2012
Location: Romania
Old 04-27-2013 , 08:18   Re: Request award
Reply With Quote #5

not tested ..
Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <cstrike>
#include <hamsandwich>
#include <fun>

#define PLUGIN "Award Menu"
#define VERSION "1.0"
#define AUTHOR "dArcA."

public plugin_init()  
{  
		register_plugin(PLUGIN, VERSION, AUTHOR);
		register_clcmd("say /award","award_menu"); 
} 

public award_menu(id)
{
		new menu = menu_create("\y CHoooseee" , "menu_cd");
		
		menu_additem(menu, "\wRespawn - 3 frags", "1", 0)
		menu_additem(menu, "\wGravity 1 round - 1 frag", "2", 0)
		menu_additem(menu, "\wGodmode 12 seconds - 2 frags", "3", 0)
		
		menu_setprop(menu,MPROP_EXIT, MEXIT_ALL)
		menu_display(id, menu, 0)
	
    
public menu_cd(id, menu, item)
{
		if(item == MENU_EXIT)
		{
		menu_destroy(menu)
		return PLUGIN_CONTINUE
		}
		
		new Data[7], Name[64]
		new Access, Callback
		menu_item_getinfo(menu, item, Access, Data, 5, Name, 63, Callback)
    
		new key = str_to_num(Data)
	
		switch(key)
		{
		case 1:
		{
		if (is_user_connected(id) )
		set_user_frags( id , get_user_frags( id ) - 3 ) 
		if(is_user_alive(id))
		client_print(id, print_chat, "Need to be dead for respawn.");
		ExecuteHamB(Ham_CS_RoundRespawn, id)  
		client_print(id, print_chat, "You will be respawned");
		menu_destroy(menu);

	}
        
        case 2:
	{
		if (is_user_connected(id) )
		set_user_frags( id , get_user_frags( id ) - 1 ) 
		if(!is_user_alive(id))
		client_print(id, print_chat, "Need to be alive for gravity.");
		set_user_gravity( id, 0.3)
		client_print(id, print_chat, "You chose gravity for 1 round.");
		menu_destroy(menu);
	}
	case 3:
	{
		if (is_user_connected(id) )
		set_user_frags( id , get_user_frags( id ) - 2 ) 
		if(!is_user_alive(id))
		client_print(id, print_chat, "Need to be alive for godmode.");
		set_user_godmode(id, 1)
		client_print(id, print_chat, "Now 12 seconds you will have godmode.");
		set_task(12.0, "remove", id)
		menu_destroy(menu);
       }
      
    }
    menu_destroy(menu)
    return PLUGIN_HANDLED
}
__________________
hqqqqqqqq
darcadarca is offline
Send a message via Yahoo to darcadarca
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 04-27-2013 , 08:34   Re: Request award
Reply With Quote #6

Quote:
Originally Posted by darcadarca View Post
not tested ..
Very poorly coded, won't work as intended, and will throw errors.
You should learn and increase your skills more before responding to plugin requests, since your average every day admin is not going to be able to fix the issues with bad quality code.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet 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 00:04.


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