Raised This Month: $ Target: $400
 0% 

Register kills?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Werewolf
Senior Member
Join Date: Jan 2006
Location: Sweden
Old 03-06-2006 , 05:15  
Reply With Quote #3

Nope... It should be like a "superpower".
A cvar. register_cvar("*pluginname*_amount", "10")
The 10 means you need 10 kills to make it enabled then you use like a command... Hmm lets see... +super, so if you type +super in console or if you bound it to a key you get like a random power... Like noclip. Godmode for 5 seconds. And if you try to do +super and you don't have 10 kills, then you get slapped like 15 times, or go on fire
Quote:
Originally Posted by VEN
Like if total kills == 10 then play sound?
And that would be easy to make... Atleast I think it is.
It is like
Code:
if(get_user_kills == (get_cvar_num("***_amount") ) ) {
client_cmd(0, "spk *SOUND*.wav")
}
right?
Werewolf 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 20:17.


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