Chicken fight pluigin or mod
Hello, I would like to have a plugin that turns every player who joins the game into a chicken with the command c_chicken, my chickenmod works, I can turn myself or others into a chicken.
my idea behind it is to have a mod where everyone just fights as chickens. even if a new round is started, everyone stays a chicken in the mod. I have already searched the forum but cannot find such a plugin/mod. I can't code this myself many thanks for your help. |
Re: Chicken fight pluigin or mod
|
Re: Chicken fight pluigin or mod
I already know all this, I don't want to enter a command. I want the server to turn everyone who joins the game into a chicken when the plugin is active.
amx_chicken is already running on my server i can turn everyone into a chicken with one command. c_chicken is a command that other plugins can use as it says in the description of chickenrebirth. Thanks anyway. something like this, I tried to write the code myself but I don't think it's really right? PHP Code:
|
Re: Chicken fight pluigin or mod
first of all, put your code between [ php ] and [ /php ] without space to show your code like this.
PHP Code:
|
Re: Chicken fight pluigin or mod
unfortunately does not work server shows bad load as an error
[ 1] Admin Base 1.8.2 AMXX Dev Team admin.amxx running [ 2] Admin Commands 1.8.2 AMXX Dev Team admincmd.amxx running [ 3] Admin Help 1.8.2 AMXX Dev Team adminhelp.amxx running [ 4] Slots Reservation 1.8.2 AMXX Dev Team adminslots.amxx running [ 5] Multi-Lingual System 1.8.2 AMXX Dev Team multilingual.am running [ 6] Menus Front-End 1.8.2 AMXX Dev Team menufront.amxx running [ 7] Commands Menu 1.8.2 AMXX Dev Team cmdmenu.amxx running [ 8] Players Menu 1.8.2 AMXX Dev Team plmenu.amxx running [ 9] Teleport Menu 1.8.2 AMXX Dev Team telemenu.amxx running [ 10] Maps Menu 1.8.2 AMXX Dev Team mapsmenu.amxx running [ 11] Plugin Menu 1.8.2 AMXX Dev Team pluginmenu.amxx running [ 12] Admin Chat 1.8.2 AMXX Dev Team adminchat.amxx running [ 13] Anti Flood 1.8.2 AMXX Dev Team antiflood.amxx running [ 14] Scrolling Message 1.8.2 AMXX Dev Team scrollmsg.amxx running [ 15] Info. Messages 1.8.2 AMXX Dev Team imessage.amxx running [ 16] Admin Votes 1.8.2 AMXX Dev Team adminvote.amxx running [ 17] TimeLeft 1.8.2 AMXX Dev Team timeleft.amxx running [ 18] Multi-Mod Manager 1.1-rc1.1 Addons zz multimod_manage running [ 19] Multi-Mod Daily Change 2.0 Addons zz/Justin multimod_daily_ running [ 20] Galileo 1.1.290 Brad Jones galileo.amxx running [ 21] Pause Plugins 1.8.2 AMXX Dev Team pausecfg.amxx running [ 22] Stats Configuration 1.8.2 AMXX Dev Team statscfg.amxx running [ 23] Restrict Weapons 1.8.2 AMXX Dev Team restmenu.amxx running [ 24] StatsX 1.8.2 AMXX Dev Team statsx.amxx running [ 25] CS Stats Logging 1.8.2 AMXX Dev Team stats_logging.a running [ 26] AMX Mod Compat Engine 1.76.rc4 AMXX Dev Team amxmod_compat.a running [ 27] CSNadeDrops 0.14 Avalanche csnadedrops.amx running [ 28] Team Flash Snitch 1.1 Tender teamflashsnitch running [ 29] Admin Spectator ESP 1.3 KoST admin_spec_esp. running [ 30] Hobo AFK Manager 1.2a hoboman313 hobo_afk_manage running [ 31] Hostage Models 0.1.2 VEN hostage_models. running [ 32] Hostage Voices 0.1.2 VEN hostage_voices. running [ 33] SpecList 1.2a FatalisDK speclist.amxx running [ 34] Prometheus 0.14 Avalanche prometheus.amxx running [ 35] Weapon Icon 1.2 hoboman313/Zenix weapon_icon.amx running [ 36] ChickenMod: Rebirth 1.0a T(+)rget amx_chicken.amx running [ 37] Sank Sounds Plugin 1.7.1 White Panther, L sank_sounds.amx running [ 38] Bomb Countdown HUD Tim 0.2 SAMURAI bcd_hudtimer.am running [ 39] Loading Music 0.9 Andrax2000 loadingsounddir running [ 40] Parachute 1.3 KRoT@L/JTP10181 amx_parachute.a running [ 41] ATAC 3.0.1 ATAC Team atac.amxx running [ 42] Chicken 1.0 ATAC Team atac_chicken.am running [ 43] Glow 1.0 ATAC Team atac_glow.amxx running [ 44] Timebomb 1.1 ATAC Team atac_bomb.amxx running [ 45] Blind 1.0 ATAC Team atac_blind.amxx running [ 46] Rocket 1.0 ATAC Team atac_rocket.amx running [ 47] Drop 1.0 ATAC Team atac_drop.amxx running [ 48] Fire 1.0 ATAC Team atac_fire.amxx running [ 49] Drug 1.0 ATAC Team atac_drug.amxx running [ 50] Slap 1.1 ATAC Team atac_slap.amxx running [ 51] Slap2One 1.1 ATAC Team atac_slap2one.a running [ 52] Slay 1.1 ATAC Team atac_slay.amxx running [ 53] Spawn Slay 1.0 ATAC Team atac_spawnslay. running [ 54] Hud Messages 1.1 ATAC Team atac_hudmsg.amx running [ 55] Team Attack 1.0 ATAC Team atac_ta.amxx running [ 56] ATAC Commands 1.1 ATAC Team atac_cmds.amxx running [ 57] Back Weapons 1.87 hoboman313/cheap backweapons.amx running [ 58] AMXBans Freeze 6.0.3 HLXBans Dev Team amxbans_freeze. running [ 59] AMXBans Flagged 6.0.3 HLXBans Dev Team amxbans_flagged running [ 60] unknown unknown unknown chickenmod bad load ( 60) Load fails: Plugin file open error (plugin "chickenmod") 60 plugins, 59 running What am I doing wrong? I really have no idea about coding |
Re: Chicken fight pluigin or mod
Either the plugin "chickenmod" doesnt exist or you have entered the wrong name.
Make sure that the plugin is in amxmodx/plugins/. Also the copy the name of the plugin with .amxx to amxmodx/configs/plugins.ini |
Re: Chicken fight pluigin or mod
found the error thanks
Unfortunately, the plugin does not run, if you joined the game, you remain a human. |
Re: Chicken fight pluigin or mod
Are you getting an errors? if so can you post them?
|
Re: Chicken fight pluigin or mod
no no mistakes, you just stay a human over amx command i can perform the transformation
|
Re: Chicken fight pluigin or mod
You must always check if the user is alive in a Ham_Spawn (post) hook (Ravi81, you did this part correctly, lexzor did not). However, you need to send a value to the command that the command can actually use. In this case, since the c_chicken command uses cm_target(), you can use the most convenient method by using their userid. To use a userid, you need to precede the userid value with the # symbol when passing it to functions that utilize cmd_target().
Simply place the following in your is_user_alive() check: PHP Code:
|
| All times are GMT -4. The time now is 21:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.