Raised This Month: $ Target: $400
 0% 

Double/Triple Kill with the same bullet


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
avril-lavigne
Banned
Join Date: Apr 2009
Old 08-06-2011 , 03:25   Re: Double/Triple Kill with the same bullet
Reply With Quote #9

you can check weapon
in event curWeapon
new weapon = get_user_weapon(id)
case CSW_DEAGLE : client_cmd(id,"say oops I have deagle")


some thing like that , also check buttons && IN_ATTACK

I have another questionn how to check If player killed some one with one bullet and then again the second with another bullet to give him reward * ( similar to awp kills - 1st and 2nd)

lets see I have AWP

PHP Code:
if (weapon == AWP) {

new 
iKiller read_data);
new  
iVictim read_data);

 if(
get_user_team(iVictim) != get_user_team(iKiller))  {

// got kill ..
but how to count 2  -3-4-5-6 kills in a rowto give him medal or something
do I need to store his result and do +
Ok I will use miscstats and put AWP condition there.
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc

Last edited by avril-lavigne; 08-06-2011 at 03:50.
avril-lavigne 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 03:26.


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