Upgrade
2 Attachment(s)
Upgrade Description: If you buy the upgrade then it gives you 150hp + 150ap + lower gravity + faster speed. (cost for upgrade and hp/ap/gravity/speed can be changed with cvars) This is my first public plugin. Cvars: upgrade_speed - Sets the speed of upgrade. (default 300.0) upgrade_hp - Sets the health for upgrade. (default 150) upgrade_ap - Sets the armor for upgrade. (default 150) upgrade_gravity - Sets the gravity for upgrade. (default 0.75) upgrade_cost - Sets the cost of upgrade. (default 4000) Admin Commands: amx_upgrade <target> [0|1] - 0=TAKE 1=GIVE Planning to add: Nothing yet. Known Bugs: None yet. Changelog: Code:
- v1.0 |
Re: Upgrade 1.0
First of all, don't release your very first plugins you've made.
Second, to fix this bug, set all the new settings to the player after freezetime is over so it won't bug. |
Re: Upgrade 1.0
Code:
You can remove the client_connect(). |
Re: Upgrade 1.0
I think there are lots of plugins like this.
It's better to use Ham_Item_PreFrame instead of CurWeapon to set player's speed. |
Re: Upgrade 1.0
Really redundant. Unapproved.
|
All times are GMT -4. The time now is 11:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.