Raised This Month: $ Target: $400
 0% 

need help with making user specific cvars


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
[cTs] Strake*ROC*
Member
Join Date: Mar 2004
Old 03-23-2005 , 22:40   need help with making user specific cvars
Reply With Quote #1

Hey guys,

I do a lot of plugin making, and i am making my first ever "mod" and i am trying to make it so an admin can do "amx_wanted" and make a user "Wanted" (EX: Player Bob is wanted for TKing. Bounty: $1000)

and i want to make it so it checks: if when a player is killed, is he wanted?

so far i have the easy stuff like:

Code:
register_event("DeathMsg", "hook_death", "a", "1>0")
and

Code:
	new Killer = read_data(1)
	new Victim = read_data(2)
it checks to see if the player is wanted.

if so, then give Killer $1000 else plugin_continued

If you guys could help me with this... that would be great

Thanks Guys,
Strake
__________________
[cTs] Strake*ROC* is offline
 



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 10:01.


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