Raised This Month: $66 Target: $400
 16% 

Natural Selection Score Awards v2.0


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Natural Selection        Category:   Fun Stuff        Approver:   Exolent[jNr] (178)
Starsailor
horrible hahah
Join Date: Aug 2008
Location: Buenos Aires
Old 02-08-2009 , 23:10   Natural Selection Score Awards v2.0
Reply With Quote #1

Natural Selection Score awards

Author: <<<anonysmous>>>
Edited and Updated by Starsailor

Original Plugin [Click]

Category: Misc/Fun

Current Version: 2.0

Platform / Test Machine: Windows 100% / Linux Not Tested

Required Modules: NS Latest/Hamsandwich

CVars:

ns_godmodetime [default = 10] (Time for godmode)
ns_nocliptime [default = 15] (Time for noclip)
ns_godliketime [default = 30] (Time for godlike)
ns_scoreawards_on [default = 1] (Turns On/Off The Plugin)
ns_scoreawards_advert [default = 1] (Turns On/Off The plugin Advertising whenever a user spawns)
ns_antiabuse_time [default = 300 (5 minutes)]
ns_scoreawards_version [Changed By Plugin's Version] (Plugin's Version)

Commands: amx_gimmeaward - gives player the Award
say /gimmeaward - gives player the Award (can be used in say_team too )
say !gimmeaward - gives player the Award (can be used in say_team too )
say /awardshelp - Helps the user what he should do to get an award (can be used in say_team too )
say !awardshelp - Helps the user what he should do to get an award (can be used in say_team too )
say /personalinfo - Returns The User's Info For Few Reasons ( Read the description ) (can be used in say_team too )
say !personalinfo - Returns The User's Info For Few Reasons ( Read the description ) (can be used in say_team too )

Description: The Plugin Is Based On That An User Can Grab An Award For His Frags by writing the !gimmeaward chat-command... When you get the " 1337Health " or "1337Armor" award, your heads up display dysplays the health wrong, so type !personalinfo in chat to see your actuall status (It displays HP/Ap/Gametime/Ping/Loss...I added the 3 functions just for misc stuff ). And So here are the awards you can get...

1)10 Seconds godmode for 10-19 Frags [Time defined by cvar]
2)1337 Health for 20-29 Frags
3)1337Health/Armor for 30-39 Frags
4)Marine Pack or All Alien abilities for 40-49 Frags
5)5 Level Up For 50-59 Frags
6)15 Seconds noclip,get stuck, not my fault,yours by the way you need 60-69 frags to get this. [Time defined by cvar]
7)UltraSpeed (L33T speed) For 70-79
8 )UltraDamage for 30 seconds (GODLIKE WEAPONS) For 30 Seconds ... 80-89 Frags Required [Time defined by cvar]

Important:

Hawk552 let me post again because the author is banned

Multilingual: [Translations Here]

[en] by Me
[es] by Me
[nl] by crazyeffect
[lt] by hleV
[de] by ExKiLL

Changelog:
v2.0:
- Removed Engine module
- Code Optimized
v1.6: Added Anti Abuse commands
v1.5: Added ML support
v1.4: Fun --> Fakemeta
v1.3: Added Pcvars
v1.2: Timers fixed
v1.1: Improved code
Attached Files
File Type: txt ns_scoreawards.txt (8.7 KB, 339 views)
File Type: sma Get Plugin or Get Source (ns_scorerewards.sma - 1175 views - 10.8 KB)
__________________
Find my plugins here..

Ex - Spanish Moderator.

Last edited by Starsailor; 03-29-2009 at 22:50.
Starsailor is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 02-09-2009 , 10:41   Re: Natural Selection Score awards (<<<anonysmous>>>)
Reply With Quote #2

I don't know who nuked this, but I gave permission for this to be posted since the original author was banned and maintenance was needed.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 02-22-2009 , 23:22   Re: Natural Selection Score awards (<<<anonysmous>>>)
Reply With Quote #3

This plugin needs testing. If anyone can report that it does or doesn't work, please post.

If you would like any information regarding possible adjustments you could make or things you could do to make this better, please feel free to post here or PM me.

Approval pending on changes.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Old 02-23-2009, 13:46
Starsailor
This message has been deleted by Starsailor. Reason: incorrect post
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 02-23-2009 , 13:58   Re: Natural Selection Score awards (<<<anonysmous>>>)
Reply With Quote #4

I suggest MultiLangual, you got much client prints
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
RULEEwasdsa
Junior Member
Join Date: Dec 2008
Old 02-25-2009 , 23:50   Re: Natural Selection Score Awards v1.4
Reply With Quote #5

this plugin is workin correctly, with any bugs in this test stage.

If you need another confirmation, iŽll give this plug to some friends to continue with that, but i tested it and it works great!
RULEEwasdsa is offline
Starsailor
horrible hahah
Join Date: Aug 2008
Location: Buenos Aires
Old 02-25-2009 , 23:52   Re: Natural Selection Score Awards v1.4
Reply With Quote #6

thanks RULEEwasdsa for test it, if you have a bug report please PM me
__________________
Find my plugins here..

Ex - Spanish Moderator.
Starsailor is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 02-26-2009 , 10:47   Re: Natural Selection Score Awards v1.4
Reply With Quote #7

Make this MultiLangual!

You got very much messages!

It gonna take much time, so if i can help you with it, tell me
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 02-26-2009 , 22:06   Re: Natural Selection Score Awards v1.5
Reply With Quote #8

It is multilingual.... It has 5 different languages already. His post was edited 3 hours after yours, so unless he added those languages in 3 hours, read the whole post.
__________________
bmann_420 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-29-2009 , 16:26   Re: Natural Selection Score Awards v1.6
Reply With Quote #9

1.
Code:
register_event("ResetHUD", "UsrSpawn", "b")
Use the HamSandwich way instead.

2.
Code:
switch(frags) {     case -100..-1 :     {         client_print(id, print_chat, "%L", id, "NOFRAGS_MSG")     }     case 0..9 :     {         client_print(id, print_chat, "%L", id, "NOFRAGS_MSG")     }     case 10..19 :     {         set_task(0.5,"godmode",id)         client_print(id, print_chat, "%L", id, "GODMODE_MSG")     }     case 20..29 :     {         set_task(0.5,"superhealth",id)         client_print(id, print_chat, "%L", id, "HEALTH_MSG")     }     case 30..39 :     {         set_task(0.4, "superhealth_and_superarmor",id)         client_print(id, print_chat, "%L", id, "ARMOR_MSG")     }     case 40..49 :     {         set_task(0.5, "marinepack_alienabilites" , id)         client_print(id, print_chat, "%L", id, "WEAPONS_MSG")     }     case 50..59 :     {         set_task(0.5, "Give_five_XP", id)         client_print(id, print_chat, "%L", id, "EXP_MSG")     }     case 60..69 :     {         set_task(0.5, "noclipmode", id)         client_print(id, print_chat, "%L", id, "NOCLIP_MSG")     }     case 70..79 :     {         set_task(0.5, "UltraSpeed",id)         client_print(id, print_chat, "%L", id, "SPEED_MSG")     }     case 80..89 :     {         set_task(0.5, "UltraDmg", id)         client_print(id, print_chat, "%L", id, "GODLIKE_MSG")     } }
This would be better as if() - else if() statements with inequality comparisons.

3. Don't add the fm_* functions to the bottom of your code. Include fakemeta_util.inc instead.



Unapproved since no significant changes have been made since Hawk's post.
PM me when you have fixed these.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Reply


Thread Tools
Display Modes

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 04:31.


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