Approved Rescue Button Message

Plug-ins compatibility with Zombie Escape Rebuild v1.x only.


Post Reply
User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 520
Joined: 5 years ago
Location: The Red City ❤
Contact:

Rescue Button Message

#1

Post by z0h1r-LK » 7 months ago

Rescue Button Message

Description:
This add-on was created by the Raheem in Zombie Escape 1.x section, so I made another new for Zombie Escape Rebuild 1.x and improved add-on. In the old add-on, a message was appearing in a chat by mistake. This is because Mappers use the same value as the “target” key in their maps, but in this add-on you can add the map name and class name, target , model in a file and so on will indicate a particular button in the map as the call/rescue button. This add-on is print a message on chat for all players when someone press call/rescue button.

Screenshots:

Pic!
Pic!

Installations && Instructions:
Compile .sma with AMX Mod X 1.10.0.5467 or Newer.
Add translation keys does not exist in zombie_escape.txt in section [en]

Translation Keys:

  1. CMD_NOT_ACCESS = "You have no access!"
  2. MSG_RESCUE_BUTTON = "!g%s !tHAS PRESSED RESCUE BUTTON, !yGo Go Go !t!"

Console Variables:

  1. ze_rescue_button_msg 1      // Print escape button message in chat (1 = Enabled | 0 = Disabled).

Commands:
ze_ent_i • Get class name , target , model of entity (ADMIN RCON only).
ze_rbm_reload • Re-load all data from ze_rescue_button.ini, NOTE: Send this command once time, When you add new button in file .ini, If you don't want restart the server (ADMIN RCON only).

Changes Log:

  1. [Version 1.0]
  2.  - First release (Made by Raheem).
  3. [Version 1.1]
  4.  - Optimize code with ReAPI functions.
  5.  - Add new method to detect Rescue Button.
  6.  - Add API's (Native / Forward).
  7. [Version 1.2] ; Current.
  8.  - Prevent execute Ham_Use while ReturnStatus is HAM_SUPERCEDE.

Tutorial - How to add new call/rescue button in ze_rescue_button.ini:
1. Put your Aim on call/rescue button.

TUT #1
TUT #1

2. Send command ze_ent_i in your console than you will get this:

TUT #2
TUT #2

3. Paste it in ze_rescue_button.ini and save.

Downloads:

Last edited by z0h1r-LK 7 months ago, edited 3 times in total.

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 520
Joined: 5 years ago
Location: The Red City ❤
Contact:

#2

Post by z0h1r-LK » 7 months ago

Updated 1.2


User avatar
sPe3doN
Senior Member
Senior Member
Algeria
Posts: 259
Joined: 7 years ago
Contact:

#3

Post by sPe3doN » 7 months ago

few maps buttons

Code: Select all

"ze_jurassicpark4" "func_button" "rescate_jp" "*57"
"ze_cern_pg" "func_button" "multicall" "*77"
"ze_campescape_b3" "func_button" "final_camp" "*78"
"ze_blackmesa" "func_button" "m" "*33"
"ze_neon_volcanus" "func_button" "multifinal" "*97"
"ze_whitemesa" "func_button" "esc" "*65"
"ze_ultrapower_surfx" "func_button" "esc" "*28"
"ze_thelost_egypt" "func_door" "" "*49"
"ze_nasa_rocket" "func_button" "called" "*3"
"ze_abandoned_zone_b2" "cycler" ""
"ze_jurassickpark3_lg" "func_button" "heli" "*49"
"ze_dead_maze" "func_button" "finalescape" "*105"
"ze_vertigo" "func_button" "call" "*35"
"ze_pink_venom" "func_button" "songs" "*70"
"zm_assault_escape2" "func_button" "escape_assault" "*85"
"ze_watery_escape_v1" "func_button" "mut" "*11"
"ze_trainyard_pg" "func_button" "multicall" "*25"
"ze_rockescape_boss" "func_button" "tren_escape" "*34"
"ze_qcyo_final" "func_button" "final_camp" "*36"
"ze_potc_fabi" "func_button" "koniec" "*48"
"ze_jp4_reverse" "func_button" "multicall" "*52"
"ze_isla_nublar_lg" "func_button" "llamado_escape01" "*79"
"ze_kabul_b3" "func_button" "aladino_1" "*5"
"ze_minecraft_runners_pg" "func_button" "alert" "*5"
"ze_minecraft_v1" "func_button" "minecar" "*12"
"ze_nuclearplant_lg" "func_button" "multi1" "*14"
"ze_horror_escape_tg_v3" "func_button" "active_end" "*36"
"ze_blackmesa_escape_dg" "func_button" "blackmesafinal" "*62"
"ze_oldhouse_escape_oa" "func_button" "a1" "*24"
"ze_thelostworld_bf" "func_button" "heli_rescue" "*66"
"ze_paola_city" "func_button" "multi1" "*34"
"ze_paty_escaper_v1" "func_button" "escapemm" "*37"
"ze_pyramids1_pg" "func_button" "mltcall" "*24"
"ze_remesa_old_final" "func_button" "mmanagerfinal1" "*73"
"ze_rock_escape2_dpfix" "func_button" "mm_rescate" "*12"
"ze_classic_pg" "func_button" "multicall" "*35"
"ze_lost_jungle_final" "func_button" "multi_escape_1" "*47"
"ze_area51_lg" "func_button" "tren_escape" "*87"
"ze_dust2_fix1" "func_button" "multi_effects" "*19"
"ze_mario_tower_lg" "func_button" "mario_escape_final_001" "*142"
"ze_antrax_lg_fix2" "func_button" "manager_final" "*34"
"ze_bloodharverst_l4d_b4" "func_button" "bridge_esc" "*14"
"ze_boatescape_b5" "func_button" "rescue1" "*27"
"ze_forsaken_escape_warz" "func_button" "varan" "*39"
"ze_cursed_egyptia_b2_pg" "func_button" "adoor1" "*10"
"ze_altiplano_dg" "func_button" "final_camp" "*38"
"ze_alejandria_scape_fix" "func_button" "m1" "*12"
"ze_cave" "func_button" "helicopter" "*22"
"ze_doctor_surf" "func_button" "multi" "*28"
"ze_jp4_reverse" "func_button" "multicall" "*52"
"ze_egypt" "func_button" "zzz" "*79"
"ze_jun" "func_button" "multi_1" "*20"
"ze_jurassicpark_a1" "func_button" "final" "*1"
"ze_sandvalley_final" "func_button" "final" "*19"
"ze_ice_esp_v1_final" "func_button" "ser" "*25"
"ze_manicomio_lg" "func_button" "manager" "*47"
"ze_nuke_v1" "func_button" "train_escape_2" "*39"
"ze_inferno_tap" "func_button" "menadjer1" "*50"
"ze_toraja" "func_button" "calledship" "*95"
"ze_biomescape_dp" "func_button" "multi3" "*28"
"ze_Cs_iTaly" "func_button" "adoor1" "*55"
"ze_box_remake_final" "func_button" "xxx" "*29"
"ze_assault_escape4_bf" "func_button" "assault" "*70"
"ze_volcanic_ONE" "func_button" "callevacuate" "*15"
"ze_black_train_v1" "func_button" "tetikleme" "*26"
"ze_blackmesa_v9" "func_button" "med" "*23"
"ze_pavon_escape_final" "func_button" "multi1" "*20"
Last edited by sPe3doN 4 months ago, edited 2 times in total.
Image

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 520
Joined: 5 years ago
Location: The Red City ❤
Contact:

#4

Post by z0h1r-LK » 7 months ago

Thank you so much @sPe3doN ♥️♥️


[ Post made via Android ]

Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Who is online

Users browsing this forum: No registered users and 0 guests