[ZPA] New ability for my nemesis Apr 24, 2015 21:09:44 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by π π π π on Apr 24, 2015 21:09:44 GMT how to do so when have nemesis, i want the nemesis when press "E" i want to shaking the human screen for 7 seconds
[ZPA] New ability for my nemesis Apr 25, 2015 5:03:59 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by zmd94 on Apr 25, 2015 5:03:59 GMT Just try below:#include <amxmodx> #include <fakemeta>#include <zombie_plague_advance>public plugin_init(){ register_plugin("Nemesis Ability", "1.0", "zmd94") register_forward(FM_CmdStart, "FwdCmdStart")}public FwdCmdStart(id, uc_handle){ if(is_user_alive(id) && zp_get_user_nemesis(id)) { static Button, OldButtons; Button = get_uc(uc_handle, UC_Buttons); OldButtons = pev(id, pev_oldbuttons); if((Button & IN_USE) && !(OldButtons & IN_USE)) { EarthQuake(id) } }} public EarthQuake(id){ new iPlayers[32], iPlayerCount, i, player new Screen = get_user_msgid("ScreenShake") get_players(iPlayers, iPlayerCount, "a") for(i = 0; i < iPlayerCount; i++) { player = iPlayers[i] if(zp_get_user_zombie(player) || zp_get_user_nemesis(player)) continue message_begin(MSG_ONE, Screen,{0,0,0}, player) write_short(255<< 14 ) write_short(10 << 14) write_short(255<< 14) message_end() }}
[ZPA] New ability for my nemesis Apr 26, 2015 18:09:22 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by π π π π on Apr 26, 2015 18:09:22 GMT Thank you :0
[ZPA] New ability for my nemesis Apr 27, 2015 0:26:59 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by zmd94 on Apr 27, 2015 0:26:59 GMT Have you tested it?
[ZPA] New ability for my nemesis Jun 17, 2016 22:31:35 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Gaspatcho on Jun 17, 2016 22:31:35 GMT Can u make when That happen It Uses a sound for players ? Like Angra's Scream
[ZPA] New ability for my nemesis Jun 18, 2016 1:08:58 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by zmd94 on Jun 18, 2016 1:08:58 GMT Dazz, do you mean to add sound?
[ZPA] New ability for my nemesis Jun 18, 2016 7:49:09 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Gaspatcho on Jun 18, 2016 7:49:09 GMT Yes .
[ZPA] New ability for my nemesis Jun 18, 2016 16:12:26 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by zmd94 on Jun 18, 2016 16:12:26 GMT If you want to add sound, you can use emit_sound native.
[ZPA] New ability for my nemesis Jun 18, 2016 16:40:33 GMT via mobile Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Abhinash ( Bboy NeO ) on Jun 18, 2016 16:40:33 GMT And dont forget to add sound in Public plugin precache and precache them too .
[ZPA] New ability for my nemesis Jun 18, 2016 20:03:13 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Gaspatcho on Jun 18, 2016 20:03:13 GMT I don't know any thing in Coding any Expample how to do it ?
[ZPA] New ability for my nemesis Jun 19, 2016 7:34:51 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by zmd94 on Jun 19, 2016 7:34:51 GMT Just learn from here, Dazz:forums.alliedmods.net/showpost.php?p=2043414&postcount=3
[ZPA] New ability for my nemesis Dec 1, 2016 23:55:13 GMT via mobile zmd94 likes this Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Jack GamePlay on Dec 1, 2016 23:55:13 GMT Better:-#include <amxmodx> #include <fakemeta>#include <zp50_core>#include <zp50_class_nemesis>public plugin_init(){register_plugin("Nemesis Ability", "1.0", "zmd94")register_forward(FM_CmdStart, "FwdCmdStart")}public FwdCmdStart(id, uc_handle){if(is_user_alive(id) && zp_class_nemesis_get(id)){static Button, OldButtons;Button = get_uc(uc_handle, UC_Buttons);OldButtons = pev(id, pev_oldbuttons);if((Button & IN_USE) && !(OldButtons & IN_USE)){EarthQuake(id)}}} public EarthQuake(id){new iPlayers[32], iPlayerCount, i, playernew Screen = get_user_msgid("ScreenShake")get_players(iPlayers, iPlayerCount, "a") for(i = 0; i < iPlayerCount; i++){player = iPlayersif(zp_core_is_zombie(player))continueif(zp_class_nemesis_get(player))continuemessage_begin(MSG_ONE, Screen,{0,0,0}, player)write_short(255<< 14 )write_short(10 << 14)write_short(255<< 14)message_end()}}
[ZPA] New ability for my nemesis Dec 6, 2016 18:21:53 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Abed on Dec 6, 2016 18:21:53 GMT Dec 1, 2016 23:55:13 GMT Jack GamePlay said:Better:-#include <amxmodx> #include <fakemeta>#include <zp50_core>#include <zp50_class_nemesis>public plugin_init(){register_plugin("Nemesis Ability", "1.0", "zmd94")register_forward(FM_CmdStart, "FwdCmdStart")}public FwdCmdStart(id, uc_handle){if(is_user_alive(id) && zp_class_nemesis_get(id)){static Button, OldButtons;Button = get_uc(uc_handle, UC_Buttons);OldButtons = pev(id, pev_oldbuttons);if((Button & IN_USE) && !(OldButtons & IN_USE)){EarthQuake(id)}}} public EarthQuake(id){new iPlayers[32], iPlayerCount, i, playernew Screen = get_user_msgid("ScreenShake")get_players(iPlayers, iPlayerCount, "a") for(i = 0; i < iPlayerCount; i++){player = iPlayersif(zp_core_is_zombie(player))continueif(zp_class_nemesis_get(player))continuemessage_begin(MSG_ONE, Screen,{0,0,0}, player)write_short(255<< 14 )write_short(10 << 14)write_short(255<< 14)message_end()}}thanks alot :*
[ZPA] New ability for my nemesis Dec 20, 2016 6:43:31 GMT via mobile Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by $h@DoW on Dec 20, 2016 6:43:31 GMT Jun 18, 2016 7:49:09 GMT Gaspatcho said:Yes .That is a nice IdeaU can try that From Shaman zm code
[ZPA] New ability for my nemesis Mar 10, 2017 12:46:41 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Abed on Mar 10, 2017 12:46:41 GMT Dec 1, 2016 23:55:13 GMT Jack GamePlay said:Better:-#include <amxmodx> #include <fakemeta>#include <zp50_core>#include <zp50_class_nemesis>public plugin_init(){register_plugin("Nemesis Ability", "1.0", "zmd94")register_forward(FM_CmdStart, "FwdCmdStart")}public FwdCmdStart(id, uc_handle){if(is_user_alive(id) && zp_class_nemesis_get(id)){static Button, OldButtons;Button = get_uc(uc_handle, UC_Buttons);OldButtons = pev(id, pev_oldbuttons);if((Button & IN_USE) && !(OldButtons & IN_USE)){EarthQuake(id)}}} public EarthQuake(id){new iPlayers[32], iPlayerCount, i, playernew Screen = get_user_msgid("ScreenShake")get_players(iPlayers, iPlayerCount, "a") for(i = 0; i < iPlayerCount; i++){player = iPlayersif(zp_core_is_zombie(player))continueif(zp_class_nemesis_get(player))continuemessage_begin(MSG_ONE, Screen,{0,0,0}, player)write_short(255<< 14 )write_short(10 << 14)write_short(255<< 14)message_end()}}have you tried to complie it ?