The Exiled

Shunned by Man, Accepted by Gods
* FAQ    * Search   * Members
* Login   * Register
It is currently Sun Feb 16, 2020 6:44 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 1 guest
Author
Message
bdp2005
Man of the House

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
 
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
King

User avatar
Joined: Tue Jun 07, 2005 5:59 pm
Posts: 941
Location: Texas
Post Posted: Sat Oct 25, 2008 1:17 pm    Post subject: Re: Implementing MidAir Shots
 
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
Man of the House

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
 
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:  
cron
Powered by phpBB® Forum Software © phpBB Group