Raised This Month: $32 Target: $400
 8% 

Hero: Donator


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Smoid
Junior Member
Join Date: Dec 2005
Location: Canada :)
Old 12-26-2005 , 04:18   Hero: Donator
Reply With Quote #1

Donator

Description
Generosity - Give some of your xp to others

shconfig.cfg CVARS
Code:
//Donator
Donator_level 10         //Level he is available at
This hero give the person in your crosshair (on keydown) the amount of xp they would get if they were to kill you once. This is removed from your own amount of xp. I am sure a lot of you out there have been asked to let someone kill you for xp. Well now you can help out a n00b without killing your rank!

Also note that I have only compiled this for amxx, but i am sure it will complile for amx without any problems ;)
Attached Files
File Type: zip sh_donator.zip (6.0 KB, 1430 views)
__________________
=D weeeeeeeeeeeeeee....
Shero 25 lvls
205.134.225.225:27015
Smoid is offline
Send a message via AIM to Smoid Send a message via MSN to Smoid Send a message via Yahoo to Smoid
D o o m
Veteran Member
Join Date: Sep 2005
Location: Germany
Old 12-26-2005 , 04:50  
Reply With Quote #2

Yeah it doesn't ruin the rank, but it takes your xp away

But good idea and nice hero ;)
__________________
Heroes
:+: Deadpool :+:
D o o m is offline
enough
BANNED
Join Date: Dec 2005
Old 12-26-2005 , 11:01  
Reply With Quote #3

Nice!!!
this is good for like very high level chars where they sit there for an hour giving xp to noobs ^_^
enough is offline
Send a message via AIM to enough
Smoid
Junior Member
Join Date: Dec 2005
Location: Canada :)
Old 12-26-2005 , 20:21  
Reply With Quote #4

Thanks. And I added code for the receiver of the xp to also get a message saying you have received xp. And i fixed a little error in the giving xp where you gave 1 kill of yourself to the other guy, whereas only got taken one kill of THEM. so now the xp given and taken is the same

Edit: Another Update: I Found an error where if you look at noone it assumes the one being selected is the whole server. And then gives everyone a bit of xp. Not yet fixed (need to find command to get serverid) But should be soon. But i have made it so the message displayed now tells who gave and who received the XP. ;)
__________________
=D weeeeeeeeeeeeeee....
Shero 25 lvls
205.134.225.225:27015
Smoid is offline
Send a message via AIM to Smoid Send a message via MSN to Smoid Send a message via Yahoo to Smoid
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 12-27-2005 , 00:02  
Reply With Quote #5

Quote:
Originally Posted by Smoid
Edit: Another Update: I Found an error where if you look at noone it assumes the one being selected is the whole server. And then gives everyone a bit of xp. Not yet fixed (need to find command to get serverid) But should be soon. But i have made it so the message displayed now tells who gave and who received the XP. ;)
just make a check to see if what the user is aiming at is alive
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
Smoid
Junior Member
Join Date: Dec 2005
Location: Canada :)
Old 12-27-2005 , 00:42  
Reply With Quote #6

Thanks Emp`

Hero fixed, tested, and working great Go have fun with it
__________________
=D weeeeeeeeeeeeeee....
Shero 25 lvls
205.134.225.225:27015
Smoid is offline
Send a message via AIM to Smoid Send a message via MSN to Smoid Send a message via Yahoo to Smoid
Radium
Junior Member
Join Date: Feb 2006
Location: Florida
Old 02-02-2006 , 21:36  
Reply With Quote #7

That would be really helpful for the ones who are near to the max level, and the uber high level people have tons of XP to spare.
__________________
Boo.
Radium is offline
Send a message via AIM to Radium Send a message via MSN to Radium
ry4nxs
Junior Member
Join Date: Feb 2006
Old 03-12-2006 , 22:45  
Reply With Quote #8

i wonder why someone will not use this power in a superhero server......
__________________
come to our server!! it's tha best
205.234.178.53:27015
ry4nxs is offline
Send a message via AIM to ry4nxs Send a message via MSN to ry4nxs
BlooDWarioR
New Member
Join Date: May 2006
Old 05-09-2006 , 01:53  
Reply With Quote #9

I put the .amxx file in ROOTFOLDER\cstrike\addons\amxmodx\plugins\ and in plugins.ini file i scroll down until i see the superhero section and at the end i put sh_superhero.amxx

sh_usmarine.amxx
sh_vash.amxx
sh_warmachine.amxx
sh_yoda.amxx
sh_donator.amxx

But when i go intro my server i dont see it in section

PLZ sed me what i dowrong... !
BlooDWarioR is offline
D o o m
Veteran Member
Join Date: Sep 2005
Location: Germany
Old 05-11-2006 , 13:12  
Reply With Quote #10

How many heroes do you have?
Write amx_plugins or amxx plugins into your serverconsole and write the output here in the code tag.

Is it the only hero which don't show up? IF you add another hero to the end and donator at the beginning of the superhero part in the plugins.ini, does it show up and the hero at the end not?
__________________
Heroes
:+: Deadpool :+:
D o o m 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 12:53.


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