View Single Post
niiii
Member
Join Date: Sep 2013
Old 05-14-2015 , 05:09   Re: Dissable shooting when in duck
Reply With Quote #3

I need that for the call of duty mod server, but only for 1 class. That class has special ability that when duck then the class is invisible, but I need you can't shoot.

case Poltergeist:
{
niewidzialnosc_kucanie[id] = 1;
ilosc_min_player[id] = 0;
ilosc_rakiet_player[id] = 0;
ilosc_dynamitow_player[id] = 0;
if(information_item_player[id][0] != 6){
set_user_rendering(id,kRenderFxNone,255,255,2 55,kRenderTransAlpha,255)
}
}



I need to add some lines to block shooting only for this class
niiii is offline