Plug-ins compatibility with Zombie Escape 1.x only!
-
sam_bhosale4
- Mod Tester
- Posts: 109
- Joined: 7 years ago
- Location: INDIA
-
Contact:
-
Quote
-
0
login to like this post
#1
Post
by sam_bhosale4 » 7 years ago
Push Button Info
Description:
- A simple and basic plugin for zombie escape.
- It will display the player name/button user who presses any of the button in the map.
- Buttons like for e.g- Door Button,Bridge explosive button etc.
- Display Message e.g- [Zombie Escape] SeRious_SaM Has Pressed The BUTTON!
Installation & Instructions:
- Simply install it like any other plugin nothing new.
- Insert button_info.amxx into plugins folder.
- Insert button_info.sma into scripting folder.
- Add "button_info.amxx" in plugins.ini.
Changelog:
Screenshots:
Downloads:
Last edited by
sam_bhosale4 7 years ago, edited 3 times in total.
-=SeRious-GaminG|Zombie Escape[Alien vs. Predator]|Asia=-
206.189.132.169:40000
-
johnnysins2000
- Veteran Member
- Posts: 678
- Joined: 7 years ago
- Location: Paraguay
-
Contact:
-
Quote
-
0
login to like this post
#2
Post
by johnnysins2000 » 7 years ago
U mean if the person press the door button it will also show who pressed it ?
Nobody Is That Busy If They Make Time
-
sam_bhosale4
- Mod Tester
- Posts: 109
- Joined: 7 years ago
- Location: INDIA
-
Contact:
-
Quote
-
0
login to like this post
#3
Post
by sam_bhosale4 » 7 years ago
johnnysins2000 wrote: ↑7 years ago
U mean if the person press the door button it will also show who pressed it ?
Yes it will show his name as shown in screenshot!
-=SeRious-GaminG|Zombie Escape[Alien vs. Predator]|Asia=-
206.189.132.169:40000
-
Raheem
- Mod Developer
- Posts: 2214
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#4
Post
by Raheem » 7 years ago
Hmm, Good job. But somethings to do so i approve this topic:
1-To use good style in posting the plugin
2-Some optimization:
- You need to use
ze_colored_print()
native rather than using stock and remove this variable new bool:HasUsedButton;
so the code become:Code: Select all
#include <zombie_escape>
#define PLUGIN "Button Info"
#define AUTHOR "SeRious_SaM"
#define VERSION "1.0"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Use,"func_button","fwButtonUsed",1)
}
public fwButtonUsed( ent, idcaller )
{
new szName[33];
get_user_name( idcaller, szName, charsmax( szName ) );
ze_colored_print( 0, "!y[!gZombie Escape!y]!t %s !gPressed the BUTTON!y!", szName );
}
- Finally make the message like: %s Pressed a Button.
He who fails to plan is planning to fail
-
sam_bhosale4
- Mod Tester
- Posts: 109
- Joined: 7 years ago
- Location: INDIA
-
Contact:
-
Quote
-
0
login to like this post
#5
Post
by sam_bhosale4 » 7 years ago
Raheem wrote: ↑7 years ago
Hmm, Good job. But somethings to do so i approve this topic:
1-To use good style in posting the plugin
2-Some optimization:
- You need to use
ze_colored_print()
native rather than using stock and remove this variable new bool:HasUsedButton;
so the code become:Code: Select all
#include <zombie_escape>
#define PLUGIN "Button Info"
#define AUTHOR "SeRious_SaM"
#define VERSION "1.0"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Use,"func_button","fwButtonUsed",1)
}
public fwButtonUsed( ent, idcaller )
{
new szName[33];
get_user_name( idcaller, szName, charsmax( szName ) );
ze_colored_print( 0, "!y[!gZombie Escape!y]!t %s !gPressed the BUTTON!y!", szName );
}
- Finally make the message like: %s Pressed a Button.
ahh ok! It was my 1st plugin post :v ill update!
-=SeRious-GaminG|Zombie Escape[Alien vs. Predator]|Asia=-
206.189.132.169:40000
-
Raheem
- Mod Developer
- Posts: 2214
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#6
Post
by Raheem » 7 years ago
No problem man, Do these things when you get time.
He who fails to plan is planning to fail
-
sam_bhosale4
- Mod Tester
- Posts: 109
- Joined: 7 years ago
- Location: INDIA
-
Contact:
-
Quote
-
0
login to like this post
#7
Post
by sam_bhosale4 » 7 years ago
Raheem wrote: ↑7 years ago
No problem man, Do these things when you get time.
Done! Please check and approve!
-=SeRious-GaminG|Zombie Escape[Alien vs. Predator]|Asia=-
206.189.132.169:40000
-
johnnysins2000
- Veteran Member
- Posts: 678
- Joined: 7 years ago
- Location: Paraguay
-
Contact:
-
Quote
-
0
login to like this post
#8
Post
by johnnysins2000 » 7 years ago
Nice Plugin
Nobody Is That Busy If They Make Time
-
sam_bhosale4
- Mod Tester
- Posts: 109
- Joined: 7 years ago
- Location: INDIA
-
Contact:
-
Quote
-
0
login to like this post
#9
Post
by sam_bhosale4 » 7 years ago
Thanks johny!
-=SeRious-GaminG|Zombie Escape[Alien vs. Predator]|Asia=-
206.189.132.169:40000
-
Raheem
- Mod Developer
- Posts: 2214
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#10
Post
by Raheem » 7 years ago
Nice you make great style : )
He who fails to plan is planning to fail
-
sam_bhosale4
- Mod Tester
- Posts: 109
- Joined: 7 years ago
- Location: INDIA
-
Contact:
-
Quote
-
0
login to like this post
#11
Post
by sam_bhosale4 » 7 years ago
Raheem wrote: ↑7 years ago
Nice you make great style : )
Thanks Raheem!
-=SeRious-GaminG|Zombie Escape[Alien vs. Predator]|Asia=-
206.189.132.169:40000
-
monk
- Member
- Posts: 13
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#12
Post
by monk » 7 years ago
Set task, because it's make flood in chat.
-
johnnysins2000
- Veteran Member
- Posts: 678
- Joined: 7 years ago
- Location: Paraguay
-
Contact:
-
Quote
-
0
login to like this post
#13
Post
by johnnysins2000 » 7 years ago
monk wrote: ↑7 years ago
Set task, because it's make flood in chat.
Which thing ?
the message that this person has press the button?
Nobody Is That Busy If They Make Time
-
Raheem
- Mod Developer
- Posts: 2214
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#14
Post
by Raheem » 7 years ago
+Like sam. And it may cause some spam so we may make it appear for admins only.
He who fails to plan is planning to fail
-
sam_bhosale4
- Mod Tester
- Posts: 109
- Joined: 7 years ago
- Location: INDIA
-
Contact:
-
Quote
-
0
login to like this post
#15
Post
by sam_bhosale4 » 7 years ago
monk wrote: ↑7 years ago
Set task, because it's make flood in chat.
Yeah it can be flood...Umm I'll check with it..
-=SeRious-GaminG|Zombie Escape[Alien vs. Predator]|Asia=-
206.189.132.169:40000
-
sam_bhosale4
- Mod Tester
- Posts: 109
- Joined: 7 years ago
- Location: INDIA
-
Contact:
-
Quote
-
0
login to like this post
#16
Post
by sam_bhosale4 » 7 years ago
Raheem wrote: ↑7 years ago
+Like sam. And it may cause some spam so we may make it appear for admins only.
Good idea Raheem! I'll update soon!Thanks!
-=SeRious-GaminG|Zombie Escape[Alien vs. Predator]|Asia=-
206.189.132.169:40000
-
Raheem
- Mod Developer
- Posts: 2214
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#17
Post
by Raheem » 7 years ago
Nice sam will wait your update.
He who fails to plan is planning to fail
-
Spir0x
- Veteran Member
- Posts: 641
- Joined: 7 years ago
- Location: Tunisia
-
Contact:
-
Quote
-
0
login to like this post
#18
Post
by Spir0x » 6 years ago
bro u can recompile it without pressing doors,explosive button,anything remove this just let the escape button!
-
sam_bhosale4
- Mod Tester
- Posts: 109
- Joined: 7 years ago
- Location: INDIA
-
Contact:
-
Quote
-
0
login to like this post
#19
Post
by sam_bhosale4 » 6 years ago
Spir0x wrote: ↑6 years ago
bro u can recompile it without pressing doors,explosive button,anything remove this just let the escape button!
the escape button plugin is already made you can check and download it from gameplay section!
and read full discription of plugin before you post irrelated kind of post..
-=SeRious-GaminG|Zombie Escape[Alien vs. Predator]|Asia=-
206.189.132.169:40000
-
Spir0x
- Veteran Member
- Posts: 641
- Joined: 7 years ago
- Location: Tunisia
-
Contact:
-
Quote
-
0
login to like this post
#20
Post
by Spir0x » 6 years ago
the other won't work for me.
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
Users browsing this forum: No registered users and 0 guests