This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

New XP Mod tutorial


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
flyeni6
Senior Member
Join Date: Jun 2006
Location: CAli
Old 02-02-2008 , 06:15   Re: New XP Mod tutorial
Reply With Quote #1

Quote:
Originally Posted by arkshine View Post
@flyen16

Can you tell me why are you using get_user_attacker() ?

Code:
public eDeath( ) { new iVictim = read_data( 2 ) new weapon, hitplace, attacker = get_user_attacker(iVictim,weapon,hitplace) if(hitplace == HIT_HEAD)


Using DeathMsg event, the killer is provided in the first argument ( read_data(1) ) and to know if it's a headshot, it's provided in the third argument ( read_data(3 ) ). And to know the weapon, see the fourth argument.
oh crap, lol i wasnt paying attention lol.
ill fix it, thx for telling me
__________________


Last edited by flyeni6; 02-02-2008 at 06:20.
flyeni6 is offline
Send a message via AIM to flyeni6
Old 02-02-2008, 06:53
fxfighter
This message has been deleted by fxfighter. Reason: gfaw
williamjems
New Member
Join Date: Sep 2009
Old 09-04-2009 , 07:24   Re: New XP Mod tutorial
Reply With Quote #3

Hi Flyeni6..

It looks good. But the other one didn't work, so many people complained about it.
Hope you made the new module.
Good luck.
__________________
williamjems is offline
Old 10-26-2009, 10:05
micke1101
This message has been deleted by micke1101.
Csdeath
New Member
Join Date: Oct 2009
Location: Lithuania
Old 10-29-2009 , 06:28   Re: New XP Mod tutorial
Reply With Quote #5

Can some one please tell me how to create a command which resets all players xp? Something like:


amx_reset_xp-If admin types it all players xp resets to 0.

Waiting
Csdeath is offline
Send a message via MSN to Csdeath Send a message via Skype™ to Csdeath
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-02-2008 , 06:18   Re: New XP Mod tutorial
Reply With Quote #6

http://wiki.alliedmods.net/Half-Life...vents#DeathMsg
__________________
Arkshine is offline
SwiFtStRiDeR
Member
Join Date: Jan 2008
Location: Los Angeles, California,
Old 03-14-2008 , 18:15   Re: New XP Mod tutorial
Reply With Quote #7

Could you please post one without the classes and just leveling up with chosen names for each rank?
__________________
Quote:
Originally Posted by Hawk552
hi my description sucks and I go on and on and on until I start foaming at the mouth and fall backwards
SwiFtStRiDeR is offline
Send a message via MSN to SwiFtStRiDeR
flyeni6
Senior Member
Join Date: Jun 2006
Location: CAli
Old 02-02-2008 , 06:22   Re: New XP Mod tutorial
Reply With Quote #8

fixed
__________________

flyeni6 is offline
Send a message via AIM to flyeni6
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-02-2008 , 06:41   Re: New XP Mod tutorial
Reply With Quote #9

You have omitted the weapon.
__________________
Arkshine is offline
flyeni6
Senior Member
Join Date: Jun 2006
Location: CAli
Old 02-02-2008 , 14:59   Re: New XP Mod tutorial
Reply With Quote #10

fixed that problem
__________________

flyeni6 is offline
Send a message via AIM to flyeni6
Reply



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 02:53.


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