Raised This Month: $51 Target: $400
 12% 

Subplugin Submission [ZP] Zombies + Humans Shop


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MegasToRM
Member
Join Date: May 2012
Location: Serbia
Old 05-19-2012 , 18:25   [ZP] Zombies + Humans Shop
Reply With Quote #1

Here is my first better ZP plugin which I made for alliedmods,so dont hate me if I make mistakes,help me to fix them if you see them
I posted it already in zombie plague subforum and got reply it is wrong section,so I had to post it here.old thread link is: http://forums.alliedmods.net/showthr...75#post1712475
Please delete thread from that link
plugin info
This is my first plugin for zp 4.3
Command is:
Code:
say /zmshop //enter to shop menu
Added zp5.0 support to plugin
Working on new rewritten version of this plugin
Fixed bug with invisibility(invisibility now lasts only one round instead of forever)
Bug is fixed thanks to H.RED.ZONE's advice

Fixed bugs,now have a fully working plugin. Changed the menu,and also added multilingual support to this plugin.
PS: You have all files attached in one zip file,so choose if you want only to download one of the files or to download Zip and have all of them in one place
Attached Files
File Type: sma Get Plugin or Get Source (zp50_shop.sma - 3692 views - 7.2 KB)
File Type: sma Get Plugin or Get Source (zp43_shop.sma - 3546 views - 7.0 KB)
File Type: zip zp_shop_all_files.zip (4.9 KB, 3512 views)
File Type: txt zp_zmshop.txt (3.4 KB, 2579 views)

Last edited by MegasToRM; 12-04-2012 at 11:34.
MegasToRM is offline
Send a message via MSN to MegasToRM Send a message via Skype™ to MegasToRM
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 05-19-2012 , 18:35   Re: [ZP] Zombies + Humans Shop
Reply With Quote #2

Simple and interesting.
Suggestions:
Remove the huge code on your post.
Add a forward to check if user is human or zombie and then open menu.
Add to color chat color as i see you use only team color.
Add new things and set cvar names a bit better so that people can get what they are setting.
Everything else is ok.
__________________
H.RED.ZONE is offline
WaLkMaN
Senior Member
Join Date: Oct 2010
Location: Varna, Bulgaria
Old 05-19-2012 , 18:36   Re: [ZP] Zombies + Humans Shop
Reply With Quote #3

Good job.
WaLkMaN is offline
gogicaa
Veteran Member
Join Date: Aug 2011
Location: //
Old 05-19-2012 , 18:44   Re: [ZP] Zombies + Humans Shop
Reply With Quote #4

One more suggestion : convert it to ZP 5.0 !
gogicaa is offline
MegasToRM
Member
Join Date: May 2012
Location: Serbia
Old 05-19-2012 , 18:48   Re: [ZP] Zombies + Humans Shop
Reply With Quote #5

@Red Zone, I will do what you sait,maybe I remove ColorChat totaly from plugin,and that about check,you thoutht to make one command,say /menu and there add check if is user zombie and it displays zombi menu to him or if he is human,it displays human menu?
@gogicaa I will convert it to zp 5.0 when I learn it well I am beginner with all there stuff
@walkman thanks
MegasToRM is offline
Send a message via MSN to MegasToRM Send a message via Skype™ to MegasToRM
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 05-19-2012 , 18:49   Re: [ZP] Zombies + Humans Shop
Reply With Quote #6

It will work for zp 5.0 normally it doesn't use any natives that are hard only checks.
But if he adds buy speed then he would need to change it because it can give speed bugs.
PS: MegasToRM add zp 5.0 version just for training

Quote:
Originally Posted by MegasToRM View Post
@Red Zone, I will do what you sait,maybe I remove ColorChat totaly from plugin,and that about check,you thoutht to make one command,say /menu and there add check if is user zombie and it displays zombi menu to him or if he is human,it displays human menu?
It would be like normal forward wait ill edit just to show you i already posted example.

EDIT: http://forums.alliedmods.net/showpos...83&postcount=9
__________________

Last edited by H.RED.ZONE; 05-19-2012 at 18:53.
H.RED.ZONE is offline
MegasToRM
Member
Join Date: May 2012
Location: Serbia
Old 05-19-2012 , 18:50   Re: [ZP] Zombies + Humans Shop
Reply With Quote #7

Quote:
Originally Posted by H.RED.ZONE View Post
It will work for zp 5.0 normally it doesn't use any natives that are hard only checks.
But if he adds buy speed then he would need to change it because it can give speed bugs.
PS: MegasToRM add zp 5.0 version just for training
I will try that now
MegasToRM is offline
Send a message via MSN to MegasToRM Send a message via Skype™ to MegasToRM
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 05-19-2012 , 18:53   Re: [ZP] Zombies + Humans Shop
Reply With Quote #8

Edited the upper post see the example.
__________________
H.RED.ZONE is offline
MegasToRM
Member
Join Date: May 2012
Location: Serbia
Old 05-19-2012 , 18:58   Re: [ZP] Zombies + Humans Shop
Reply With Quote #9

Quote:
Originally Posted by H.RED.ZONE View Post
Edited the upper post see the example.
I was thinking that way Thanks for the advice
edit: first post is updated and this plugin now supports zp 5.0 ( I think )

Last edited by MegasToRM; 05-19-2012 at 19:13.
MegasToRM is offline
Send a message via MSN to MegasToRM Send a message via Skype™ to MegasToRM
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 05-19-2012 , 19:40   Re: [ZP] Zombies + Humans Shop
Reply With Quote #10

Nicelly done now in zp5.0 you can remove colorchat and use zp50_colorchat
And one more thing i don't see that rendering will return to normal on round end.
Look it up.
__________________
H.RED.ZONE 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 13:56.


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