Sample of how NOT to code for approval: XpMod
5 Attachment(s)
Description: This is a little mod i got requested to make so here it is, the idea is that you should use it with HNS (HideNSeek) when a player types /xp he gets up a menu where he can buy health, he grenade, flash (1 and 2), smoke and respawn possibility level.
For example if i buy level 1 he grenade i get 15% chanse to get a he grenade every round. Admins with kick can take or give xp and admins with rcon can reset all xp's and levels. Cvars: Code:
//Xp you get when killing with any weapon except knife - Players - /xp - brings up the xp menu - Admin with kick - amx_takexp <target> <amount> - (Console) takes a players xp - amx_givexp <target> <amount> - (Console) gives a player xp - Admin with rcon - /clearxpmod - resets all players xp, levels in the server and the database Credits: Redfalcon - Beta tester and requester and cvars are based on what he wanted. And also thanks to all translators: here Notes: Requieres local compiling and download of fvault in includes xpmod.txt goes in data/lang |
Re: XpMod
Nice work.
|
Re: XpMod
GJ =D
|
Re: XpMod
You cannot post amxx files, even if it requires local compiling.
Notify the people downloading it to locally compile it until a moderator/approver uploads the compiled version for you. Also, this code is an eyesore. |
Re: XpMod
Ok fixed.
Thanks for the constructive critic |
Re: XpMod
Quote:
|
Re: XpMod
Exolent, it's simple, post your xpmod ;P
|
Re: XpMod
Quote:
Make a function for the 4 lines that prints the messages in a own function those are some ive been thinking of and i meant that it was constructive out of a pros view |
Re: XpMod
PHP Code:
PHP Code:
|
Re: XpMod
Ok then lets do it that way
|
All times are GMT -4. The time now is 03:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.