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

hello guys sorry for spamm but i need help to cods


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
yokanayako
Member
Join Date: Jun 2012
Old 08-16-2012 , 09:42   hello guys sorry for spamm but i need help to cods
Reply With Quote #1

only ct can start the game its for jailbreak ts vs ts

commands :
/gamemenu (to show menu)
/gm (to show menu)
/stop (to stop the game)



Angrybirds (i have skins)
Snowball (i have skins)
Zombieball (i have skins)



here is the cods its work but the dogbol is not dogball its he granes can any fixit and add that 3 game


PHP Code:
#include <amxmodx>  
#include <fun>  
#include <hamsandwich>  
#include <colorchat>  
#include <fakemeta>  

#define PLUGIN "gamemenu"  
#define VERSION "1.1"  
#define AUTHOR "Ricardo"  

new const Prefix[] = "^4[Dodgeball]^3"  

new dodgeball[] = "models/v_dodgeball.mdl";  
new 
dodgeball2[] = "models/p_dodgeball.mdl";  


public 
plugin_init() {  
    
register_plugin(PLUGINVERSIONAUTHOR)  
      
    
register_event("CurWeapon""Knifemodel""b""1=1")  
      
    
register_clcmd("say /gm""CmdDodgeball")  
    
register_clcmd("say /gamemenu""CmdDodgeball")  
      
    
register_logevent("EventRoundEnd"2"1=Round_End")   
    
register_logevent("EventRoundStart"2"1=Round_Start")   
      
      
}  

public 
plugin_precache()  
{  
    
precache_model(dodgeball)  
    
precache_model(dodgeball2)  
      
}  

public 
Event_Playerspawn(id)  
{   
      
    
server_cmd"mp_friendlyfire 0" );  
      
}  

public 
CmdDodgeball(id)  
{  

    new 
menu menu_create("Game:""MenuHandler")  
      
    
menu_additem(menu"Dodgeball""1")  
      
    
menu_setprop(menuMPROP_EXITMEXIT_ALL)  
    
menu_display(idmenu0)  
}  

public 
MenuHandler(idmenuitem)  
{  
    if (
item == MENU_EXIT)  
    {  
        
menu_destroy(menu)  
        return 
PLUGIN_HANDLED  
    
}  
      
    new 
data[6], szName[64], accescallback  
    menu_item_getinfo
(menuitemaccesdatacharsmax(data), szNamecharsmax(szName), callback)  
    new 
key str_to_num(data)  
      
    switch(
key)  
    {  
        case 
1CmdDodgeball2(id)  
    }  
      
    return 
PLUGIN_HANDLED  
}  

public 
CmdDodgeball2(id)  
{  
    new 
name[32], players[32], iNum  
    get_user_name
(idname31)  
    
get_players(playersiNum"ch")  
      
    for (new 
i<iNumi++)  
    {  
        
strip_user_weapons(players[i])  
        
give_item(players[i], "weapon_hegrenade")  
        
set_task(2.0"GiveBalls"players[i], _,_"b")  
        
set_pev(players[i], pev_viewmodel2dodgeball)  
        
set_pev(players[i], pev_weaponmodel2dodgeball2)  
          
          
    }  
    
server_cmd"mp_friendlyfire 1" );  
    
ColorChat(idGREY"%s ^4%s^3 has started the Menu and the day that have been chosen is: ^4>Dodgeball^3!<"Prefixname)  
}  


public 
GiveBalls(id)  
{  
    if (
is_user_alive(id))  
    {  
        
give_item(id"weapon_hegrenade")  
        
set_pev(idpev_viewmodel2dodgeball)  
        
set_pev(idpev_weaponmodel2dodgeball2)  
          
    }  
      
    else   
    {  
          
    }  
}  
public 
Knifemodel(id)  
{  
    if (
get_user_weapon(id) == CSW_HEGRENADE)  
    {  
          
    }  
}    


public 
EventRoundEnd()  
{  
      
      
      
      


Last edited by yokanayako; 08-16-2012 at 11:33.
yokanayako is offline
Old 08-16-2012, 10:59
yokanayako
This message has been deleted by yokanayako.
Old 08-16-2012, 11:00
yokanayako
This message has been deleted by yokanayako.
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-16-2012 , 11:01   Re: hello guys sorry for spamm but i need help to cods
Reply With Quote #2

Edit your first post, do not doublepost.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
yokanayako
Member
Join Date: Jun 2012
Old 08-16-2012 , 11:34   Re: hello guys sorry for spamm but i need help to cods
Reply With Quote #3

I know because, I wrote wrong
yokanayako is offline
f0rhead
Junior Member
Join Date: Jun 2012
Old 08-16-2012 , 11:35   Re: hello guys sorry for spamm but i need help to cods
Reply With Quote #4

Dude why you steal the plugins and take credits?

http://forums.alliedmods.net/showthread.php?t=192541

Last edited by f0rhead; 08-16-2012 at 11:39.
f0rhead is offline
yokanayako
Member
Join Date: Jun 2012
Old 08-16-2012 , 11:40   Re: hello guys sorry for spamm but i need help to cods
Reply With Quote #5

read better, I dont write cod is my

I write my name on CODEN because I will add it to my jailbreak.... so i change name only

Last edited by yokanayako; 08-16-2012 at 11:40.
yokanayako is offline
f0rhead
Junior Member
Join Date: Jun 2012
Old 08-16-2012 , 12:49   Re: hello guys sorry for spamm but i need help to cods
Reply With Quote #6

Author stands for who made the plugin but yeah you are probably right..
f0rhead 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 10:33.


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