Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP][Addon] Simple Zombie Radio


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Raddish
BANNED
Join Date: Jul 2008
Location: Argentina
Old 11-16-2009 , 17:21   Re: [ZP][Addon] Simple Zombie Radio
Reply With Quote #1

nice sounds ;)
Raddish is offline
Stixsmaster
Veteran Member
Join Date: May 2007
Location: I am all around you...I
Old 11-19-2009 , 19:49   Re: [ZP][Addon] Simple Zombie Radio
Reply With Quote #2

hmmm I question why you have the radio when CS and CZ both already have a radio feature that can just as easily be used without any further assistance of other plugins?

---Stixsmaster
__________________
Stixsmaster is offline
Send a message via AIM to Stixsmaster Send a message via MSN to Stixsmaster
sunx
Veteran Member
Join Date: Mar 2009
Location: Germany
Old 11-21-2009 , 23:18   Re: [ZP][Addon] Simple Zombie Radio
Reply With Quote #3

Quote:
Originally Posted by Stixsmaster View Post
hmmm I question why you have the radio when CS and CZ both already have a radio feature that can just as easily be used without any further assistance of other plugins?

---Stixsmaster
man you released a "plugin" on supercentral ... 6 basic zombie classes in 1 ...
wohoooo every noob can do that ... so ... dont talk like a hero .... -.-

ouhhhhh im getting - karma now ??!?!

its just the truth ...


and ... wohoooooooooooooo sunx is a scriptoooooooooooooooooor ....

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

basic stuff omg ...

just fix it ... and dont talk too much ...
i`m not a scripting pro ... but im definilty not talking nonsense ...
__________________


Last edited by sunx; 11-21-2009 at 23:41.
sunx is offline
LordKowen
Member
Join Date: Sep 2009
Location: Spain
Old 11-26-2009 , 05:58   Re: [ZP][Addon] Simple Zombie Radio
Reply With Quote #4

Very cool plugin...

please, any scriptor can convert this for zp 4.3 ?

thanks !!! ;)
LordKowen is offline
Anggara_nothing
Veteran Member
Join Date: Jan 2009
Location: Indonesia
Old 11-27-2009 , 09:18   Re: [ZP][Addon] Simple Zombie Radio
Reply With Quote #5

Quote:
Originally Posted by sunx View Post
man you released a "plugin" on supercentral ... 6 basic zombie classes in 1 ...
wohoooo every noob can do that ... so ... dont talk like a hero .... -.-

ouhhhhh im getting - karma now ??!?!

its just the truth ...


and ... wohoooooooooooooo sunx is a scriptoooooooooooooooooor ....

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

basic stuff omg ...

just fix it ... and dont talk too much ...
i`m not a scripting pro ... but im definilty not talking nonsense ...
don't bigheaded
Anggara_nothing is offline
Shalun
Member
Join Date: May 2009
Location: Russia
Old 11-21-2009 , 17:39   Re: [ZP][Addon] Simple Zombie Radio
Reply With Quote #6

Please add support ZP4.3
Shalun is offline
1337
Senior Member
Join Date: Mar 2009
Old 12-19-2009 , 17:12   Re: [ZP][Addon] Simple Zombie Radio
Reply With Quote #7

can anybody update this plugin to make it work with zp 4.3 ?
1337 is offline
sabrioz
Senior Member
Join Date: Apr 2009
Old 02-06-2010 , 07:17   Re: [ZP][Addon] Simple Zombie Radio
Reply With Quote #8

ok guys i try to fix this plugin.
and now it working..
just one question..
how to add radio2 and radio3?

someone please help me..

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <zombieplague>

#define PLUGIN "Simple Zombie Radio"
#define VERSION "1.0"
#define AUTHOR "Sn!ff3r"

new enableddisableold

static const radio1_sounds[][] = { 
    
"",
    
"zombie_plague/radio/com_go.wav",
    
"zombie_plague/radio/ct_backup.wav",
    
"zombie_plague/radio/ct_coverme.wav",
    
"zombie_plague/radio/ct_enemys.wav",
    
"zombie_plague/radio/followme.wav",
    
"zombie_plague/radio/fallback.wav",
    
"zombie_plague/radio/hitassist.wav"
}

static const 
radio1_texts[][] = {
    
"",
    
"Zombies, go go go",
    
"Zombies, need backup",
    
"Zombies, cover me",
    
"Zombies, enemy spotted",
    
"Zombies, follow me",
    
"Zombies, fall back",
    
"Zombies, need assistance"
}

public 
plugin_precache()
{
        for(new 
1sizeof radio1_soundsi++)
            
precache_sound(radio1_sounds[i])
}

public 
plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
enabled register_cvar("zp_radio","1")
    
disableold register_cvar("zp_radio_disable_old","0")
    
    
register_clcmd("radio1","radio1")
    
register_clcmd("radio2","other_radio_hook")
    
register_clcmd("radio3","other_radio_hook")
}

public 
radio1(id)
{
    if(!
get_pcvar_num(enabled))
        return 
PLUGIN_CONTINUE
    
    
if(!zp_get_user_zombie(id) || !zp_get_user_nemesis(id) && !is_user_alive(id))
        return 
PLUGIN_CONTINUE
    
    
new menu menu_create("\y Zombie Radio Commands""radio1_handler")
    
menu_additem(menuradio1_texts[1], "1"0)
    
menu_additem(menuradio1_texts[2], "2"0)
    
menu_additem(menuradio1_texts[3], "3"0)
    
menu_additem(menuradio1_texts[4], "4"0)
    
menu_additem(menuradio1_texts[5], "5"0)
    
menu_additem(menuradio1_texts[6], "6"0)
    
menu_additem(menuradio1_texts[7], "7"0)
    
menu_addblank(menu0)
    
menu_setprop(menuMPROP_EXITMEXIT_ALL)
    
    
menu_display(idmenu0)
    
    return 
PLUGIN_HANDLED    
}


public 
radio1_handler(idmenuitem)
{
    if(
item == MENU_EXIT)
    {
        
menu_cancel(id)
        return 
PLUGIN_HANDLED
    
}
    
    new 
data[6]
    new 
accesscallback
    
    menu_item_getinfo
(menuitemaccessdata5__callback)
    
    new 
key str_to_num(data)
    
    if(
key && key sizeof radio1_texts)
    {        
        
message(key)
    }
    
    
menu_cancel(id)
    return 
PLUGIN_HANDLED
}

stock message(key)
{
    new 
players[32], countname[33]
    
get_players(playerscount"ch")
    for(new 
id 0id <= countid++) 
    {
        if(
zp_get_user_zombie(id) || zp_get_user_nemesis(id) && is_user_connected(id))
        {            
            
get_user_name(id,name,32)
            
client_print(id,print_chat,"%s (RADIO): %s!",name,radio1_texts[key])
            
client_cmd(id,"spk %s",radio1_sounds[key])
        } 
    }    
}

public 
other_radio_hook(id)
{
    return (
get_pcvar_num(disableold) && zp_get_user_zombie(id)) ? PLUGIN_HANDLED PLUGIN_CONTINUE

sabrioz is offline
re333
Senior Member
Join Date: May 2009
Old 02-28-2010 , 02:49   Re: [ZP][Addon] Simple Zombie Radio
Reply With Quote #9

Quote:
Originally Posted by sabrioz View Post
ok guys i try to fix this plugin.
and now it working..
just one question..
how to add radio2 and radio3?

someone please help me..

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <zombieplague>

#define PLUGIN "Simple Zombie Radio"
#define VERSION "1.0"
#define AUTHOR "Sn!ff3r"

new enableddisableold

static const radio1_sounds[][] = { 
    
"",
    
"zombie_plague/radio/com_go.wav",
    
"zombie_plague/radio/ct_backup.wav",
    
"zombie_plague/radio/ct_coverme.wav",
    
"zombie_plague/radio/ct_enemys.wav",
    
"zombie_plague/radio/followme.wav",
    
"zombie_plague/radio/fallback.wav",
    
"zombie_plague/radio/hitassist.wav"
}

static const 
radio1_texts[][] = {
    
"",
    
"Zombies, go go go",
    
"Zombies, need backup",
    
"Zombies, cover me",
    
"Zombies, enemy spotted",
    
"Zombies, follow me",
    
"Zombies, fall back",
    
"Zombies, need assistance"
}

public 
plugin_precache()
{
        for(new 
1sizeof radio1_soundsi++)
            
precache_sound(radio1_sounds[i])
}

public 
plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
enabled register_cvar("zp_radio","1")
    
disableold register_cvar("zp_radio_disable_old","0")
    
    
register_clcmd("radio1","radio1")
    
register_clcmd("radio2","other_radio_hook")
    
register_clcmd("radio3","other_radio_hook")
}

public 
radio1(id)
{
    if(!
get_pcvar_num(enabled))
        return 
PLUGIN_CONTINUE
    
    
if(!zp_get_user_zombie(id) || !zp_get_user_nemesis(id) && !is_user_alive(id))
        return 
PLUGIN_CONTINUE
    
    
new menu menu_create("\y Zombie Radio Commands""radio1_handler")
    
menu_additem(menuradio1_texts[1], "1"0)
    
menu_additem(menuradio1_texts[2], "2"0)
    
menu_additem(menuradio1_texts[3], "3"0)
    
menu_additem(menuradio1_texts[4], "4"0)
    
menu_additem(menuradio1_texts[5], "5"0)
    
menu_additem(menuradio1_texts[6], "6"0)
    
menu_additem(menuradio1_texts[7], "7"0)
    
menu_addblank(menu0)
    
menu_setprop(menuMPROP_EXITMEXIT_ALL)
    
    
menu_display(idmenu0)
    
    return 
PLUGIN_HANDLED    
}


public 
radio1_handler(idmenuitem)
{
    if(
item == MENU_EXIT)
    {
        
menu_cancel(id)
        return 
PLUGIN_HANDLED
    
}
    
    new 
data[6]
    new 
accesscallback
    
    menu_item_getinfo
(menuitemaccessdata5__callback)
    
    new 
key str_to_num(data)
    
    if(
key && key sizeof radio1_texts)
    {        
        
message(key)
    }
    
    
menu_cancel(id)
    return 
PLUGIN_HANDLED
}

stock message(key)
{
    new 
players[32], countname[33]
    
get_players(playerscount"ch")
    for(new 
id 0id <= countid++) 
    {
        if(
zp_get_user_zombie(id) || zp_get_user_nemesis(id) && is_user_connected(id))
        {            
            
get_user_name(id,name,32)
            
client_print(id,print_chat,"%s (RADIO): %s!",name,radio1_texts[key])
            
client_cmd(id,"spk %s",radio1_sounds[key])
        } 
    }    
}

public 
other_radio_hook(id)
{
    return (
get_pcvar_num(disableold) && zp_get_user_zombie(id)) ? PLUGIN_HANDLED PLUGIN_CONTINUE

Good luck ! Hope that u will release it as soon as u can
re333 is offline
TyH
Junior Member
Join Date: Feb 2010
Old 02-28-2010 , 02:36   Re: [ZP][Addon] Simple Zombie Radio
Reply With Quote #10

lol its funny
TyH 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 17:00.


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