Buy Zoom v1.2.4
2 Attachment(s)
.: Description :.
With this plugin, players can buy the AUG's zoom on any weapon (and remove it) with two short commands. After the player dies or the round ends, it is automatically removed. .: Commands :. say /zoom - Set zoom on player. say /remove - Remove the zoom. .: CVAR :. amxx_zoom_cost "500" // Set the zoom cost (default 500). .: Installation :. Extract .amxx file to your plugins folder, and add its name to plugins.ini For the proper functioning of the plugin, download the Multilingual File (.txt) and put it in data\lang. .: Changelog :. Code:
v1.0 - First release. |
Re: Buy Zoom
Good idea :D
+k It doesnt matter, but why is there a PHP Code:
PHP Code:
And maybe you could make it multilang :D |
Re: Buy Zoom
Because my way is more useful for users who have a little-know scripting or simply nothing.
|
Re: Buy Zoom
why not make it ML?
then ppl can change the ML file rather than edit the source and recompile nice plugin (Y) |
Re: Buy Zoom
2 Attachment(s)
Quote:
|
Re: Buy Zoom
Quote:
Code:
/home/groups/amxmodx/tmp3/phpXioGQs.sma(16) : warning 217: loose indentation |
Re: Buy Zoom
Quote:
|
Re: Buy Zoom
i have indented the code for you
PHP Code:
you have to put PHP Code:
|
Re: Buy Zoom
Some suggestions :
- You should indent your code properly ; either use tab or space but not both. - You should provide a command to toggle zoom so it can be bindable and used more easily. - set_zoom() ; cache the value from cs_get_user_money and get_pcvar_num. - g_hasZoom is not used at all. - You could keep the zoom until you die, as feature. - Using ML system ? - Don't use ResetHud as new round ; see this tuto : http://forums.alliedmods.net/showthread.php?t=42159 Quote:
|
Re: Buy Zoom
Plugin updated to version 1.2
|
All times are GMT -4. The time now is 01:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.