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

View Poll Results: rate this plugin
bad 0 0%
poor 999,999 100.00%
Multiple Choice Poll. Voters: 11. You may not vote on this poll

[PR] ultimate pistol rounds version 2.0 [ADVANCED]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
ezio_auditore
Senior Member
Join Date: May 2013
Old 11-25-2013 , 09:57   [PR] ultimate pistol rounds version 2.0 [ADVANCED]
Reply With Quote #1

Description:-

this plugin shows a menu whether to make the current round a pistol round.
If a pistolround is commenced, everyone gets 200 HP 255 ARMOR and a free USP with 3 CLIPS and buyzones are removed.
We get a menu to choose from 4 pistols (available for both CTs and Ts).
After selecting a gun, we get that gun with free ammo and all nades.
One can BUY a new gun, ammo, HP, armor, nades, fly and a respawn.

Usage:-

say/say_team /ammo (shows a menu where you can buy ammo)
say/say_team /health (shows a menu where you can buy HP)
say/say_team /armor (shows a menu where you can buy armor)
say/say_team /guns (shows a menu where you can buy a new pistol)
say/say_team /nades (shows a menu where you can buy nades)
say/say_team /fly (shows a menu where you can buy fly[say/say_team /ground to end your fly])
say/say_team /life (shows a menu where you can buy respawn)
say/say_team /help (shows a page for all available commands)

CVARS:-

If something is not right and someone buys a gun, type pr_commence to start a pistolround

Requirements:-

amxmodx
amxmisc
fun
cstrike
engine
Attached Files
File Type: sma Get Plugin or Get Source (pistolmod.sma - 686 views - 14.6 KB)
__________________

Last edited by ezio_auditore; 11-25-2013 at 10:25.
ezio_auditore is offline
Send a message via Skype™ to ezio_auditore
PoLiCe
Senior Member
Join Date: Apr 2013
Location: Xen™
Old 11-25-2013 , 10:28   Re: [PR] ultimate pistol rounds version 2.0 [ADVANCED]
Reply With Quote #2

Sounds good..
__________________

Last edited by PoLiCe; 11-25-2013 at 11:07.
PoLiCe is offline
Send a message via MSN to PoLiCe Send a message via Skype™ to PoLiCe
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 11-25-2013 , 10:46   Re: [PR] ultimate pistol rounds version 2.0 [ADVANCED]
Reply With Quote #3

Bad coded. Redundant code.
Examples :

PHP Code:
give_item(id"ammo_45acp")
            
give_item(id"ammo_357sig")
            
give_item(id"ammo_50ae")
            
give_item(id"ammo_45acp")
            
give_item(id"ammo_357sig")
            
give_item(id"ammo_50ae")
            
give_item(id"ammo_45acp")
            
give_item(id"ammo_357sig")
            
give_item(id"ammo_50ae")
            
give_item(id"ammo_45acp")
            
give_item(id"ammo_357sig")
            
give_item(id"ammo_50ae")
            
give_item(id"ammo_45acp")
            
give_item(id"ammo_357sig")
            
give_item(id"ammo_50ae")
            
give_item(id"ammo_45acp"
Use cs_set_user_bpammo.

PHP Code:
get_players(playersnum
You get all players, also the dead ones.



What kind of indention is this?
__________________
Kia is offline
ezio_auditore
Senior Member
Join Date: May 2013
Old 11-25-2013 , 11:56   Re: [PR] ultimate pistol rounds version 2.0 [ADVANCED]
Reply With Quote #4

Quote:
Originally Posted by Kia View Post
Bad coded. Redundant code.
Examples :

PHP Code:
give_item(id"ammo_45acp")
            
give_item(id"ammo_357sig")
            
give_item(id"ammo_50ae")
            
give_item(id"ammo_45acp")
            
give_item(id"ammo_357sig")
            
give_item(id"ammo_50ae")
            
give_item(id"ammo_45acp")
            
give_item(id"ammo_357sig")
            
give_item(id"ammo_50ae")
            
give_item(id"ammo_45acp")
            
give_item(id"ammo_357sig")
            
give_item(id"ammo_50ae")
            
give_item(id"ammo_45acp")
            
give_item(id"ammo_357sig")
            
give_item(id"ammo_50ae")
            
give_item(id"ammo_45acp"
Use cs_set_user_bpammo.

PHP Code:
get_players(playersnum
You get all players, also the dead ones.



What kind of indention is this?
this is beginners type of code

and if a beginner's code is working fine... He is learning...

making firm steps towards the success
__________________

Last edited by ezio_auditore; 11-25-2013 at 11:59.
ezio_auditore is offline
Send a message via Skype™ to ezio_auditore
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 11-25-2013 , 13:16   Re: [PR] ultimate pistol rounds version 2.0 [ADVANCED]
Reply With Quote #5

https://forums.alliedmods.net/showthread.php?t=21956
https://forums.alliedmods.net/showthread.php?t=11201

For the love of.... read before you post. Please.
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 11-25-2013 , 17:40   Re: [PR] ultimate pistol rounds version 2.0 [ADVANCED]
Reply With Quote #6

Quote:
Originally Posted by ezio_auditore View Post
this is beginners type of code

and if a beginner's code is working fine... He is learning...

making firm steps towards the success
Kia and drugdog are right.

Plus beginners should not post there first plugin as it will be badly coded and errors/warnings.

You should make plugins then improve them more before releasing.

You should go thru your plugin fix the indentation. Optimise the way you give back pack ammo. With Kia suggestion.
__________________

Last edited by Blizzard_87; 11-25-2013 at 17:40.
Blizzard_87 is offline
tonykaram1993
Senior Member
Join Date: Mar 2013
Location: This World
Old 11-29-2013 , 15:06   Re: [PR] ultimate pistol rounds version 2.0 [ADVANCED]
Reply With Quote #7

The poll results says all I want to say. Period.
__________________
My Plugins:
UltimatePlugin
UltimateSurf
UltimateAdmin
Code:
rcon version | rcon amxx version | rcon meta version
rcon amxx plugins | rcon meta list | rcon status
I AM INACTIVE ON THIS FORUM - For direct contact: [email protected]
tonykaram1993 is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 11-30-2013 , 00:21   Re: [PR] ultimate pistol rounds version 2.0 [ADVANCED]
Reply With Quote #8

You need to stop trying to release plugins for now - you have much to learn about AMXX, and to say as nicely as possible; the Plugin Submissions section is no place for beginners. It is for advanced users who have a strong understanding of AMXX including a variety of modules and how to use them efficiently. By all means download these plugins and look in to them - see how they're written, and pick up some good tips and pointers.
The section is not designed for users to release plugins "just for the sake of it" etc. Instead because it is well written, original, and does something desirable.

Unapproved.
hornet is offline
ezio_auditore
Senior Member
Join Date: May 2013
Old 11-30-2013 , 03:06   Re: [PR] ultimate pistol rounds version 2.0 [ADVANCED]
Reply With Quote #9

Quote:
Originally Posted by hornet View Post
You need to stop trying to release plugins for now - you have much to learn about AMXX, and to say as nicely as possible; the Plugin Submissions section is no place for beginners. It is for advanced users who have a strong understanding of AMXX including a variety of modules and how to use them efficiently. By all means download these plugins and look in to them - see how they're written, and pick up some good tips and pointers.
The section is not designed for users to release plugins "just for the sake of it" etc. Instead because it is well written, original, and does something desirable.

Unapproved.

I admit my code has a loose intendation.
I alse admit that i a beginner so i must not post plugins here...


but... As a beginner, how do you find my plugins ( it doesn't has a bug and works good)
__________________
ezio_auditore is offline
Send a message via Skype™ to ezio_auditore
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 07:49.


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