The Exiled

Shunned by Man, Accepted by Gods
* FAQ    * Search   * Members
* Login   * Register
It is currently Thu Mar 28, 2024 3:16 pm 

 View unanswered posts | View active topics


 Board index » General Area » Modding
Post new topic Reply to topic Users browsing this forum: No registered users and 4 guests
Author
Message
bdp2005


User avatar
Joined: Sun Jul 17, 2005 7:23 pm
Posts: 7
Location: Houston,Tx
Post Posted: Sat Oct 25, 2008 12:55 pm    Post subject: Implementing MidAir Shots
Reply with quote
 
I am trying to find a code to implement MA shots on an decrypted Annihilationv2.3 server. Any assistance would be great!


ImageImageImage
Image
Image
 Top Offline
Profile YIM
Author
Message
TE-Noxwizard


User avatar
Joined: Tue Jun 07, 2005 5:59 pm
Posts: 942
Location: Texas
Post Posted: Sat Oct 25, 2008 1:17 pm    Post subject: Re: Implementing MidAir Shots
Reply with quote
 
Player::OnDamage():
Code:
%InAir = Player::getLastContactCount(%damagedClient);

if(%InAir > 10 && %damagedClient != %shooterClient)
{
   bottomprint(%shooterClient, "<f1><jc>M i d   a i r   h i t !");
}



Image
Image
 Top Offline
Profile WWWICQYIM
Author
Message
bdp2005


User avatar
Joined: Sun Jul 17, 2005 7:23 pm
Posts: 7
Location: Houston,Tx
Post Posted: Sat Oct 25, 2008 1:33 pm    Post subject: Re: Implementing MidAir Shots
Reply with quote
 
That helps, but I would like to know if I could get a counter in the Tab menu like how Elite Renegades has it. I think I will be able to get it, if you could offer more insight that would be awesome.


ImageImageImage
Image
Image
 Top Offline
Profile YIM
Display posts from previous:  Sort by  
Post new topic Reply to topic Board index » General Area » Modding
Previous topic :: Next topic  
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group