Raised This Month: $ Target: $400
 0% 

give speed, grav, hp and etc.. fakemeta


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 05-18-2009 , 11:44   Re: give speed, grav, hp and etc.. fakemeta
Reply With Quote #6

PHP Code:
public ShowZmenu(id) { 
if(
get_user_team(id) == 1) { 
new 
menu menu_create("\rZombie Classes:""menu_handler"); 
menu_additem(menu"\wHunter - Leap""1"0); 
menu_additem(menu"\wSmoker - Drag""2"0); 
menu_additem(menu"\wBoomer - Explode""3"0); 
menu_additem(menu"\wTank - HP""4"0); 
menu_setprop(menuMPROP_EXITMEXIT_ALL); 
menu_display(idmenu0); 


public 
menu_handler(idmenuitem)
{
if( 
item == MENU_EXIT )
{
menu_destroy(menu);
return 
PLUGIN_HANDLED;
}
new 
data[6], iName[64];
new 
accesscallback;
menu_item_getinfo(menuitemaccessdata,5iName63callback)
new 
key str_to_num(data);
switch(
key)
{
case 
1:
{
client_printcolor(0"/gYou Now are /ya /ctrHunter/y!");
}
case 
2:
{
client_printcolor(0"/gYou Now are /ya /ctrSmoker/y!");
}
case 
3:
{
client_printcolor(0"/gYou Now are /ya /ctrBoomer/y!");
}
case 
4:
{
client_printcolor(0"/gYou Now are /ya /ctrTank/y!");
}
}
menu_destroy(menu);
return 
PLUGIN_HANDLED;

I can give all the classes in skill? Please give exmpl.
Tank - Have Hp
Boomer - Have Explode
Smoker - Can drag players
Hunter - Have Leap
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
 



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 01:27.


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