hi back
.db »

=RK=MarineForce

  • Sr. Member
  • WAR IS HELL!
  • Posts: 447
hi back
«  »
Function On Player Fire:

Or

Function On Player Fire Stops:

can u gib me those functions?
Try to UnderStand ME!

Athanatos

  • Hero Member
  • Romania Cops N Robbers Lead Developer
  • Posts: 796
Re: hi back
« Reply #1,  »
Quote from =RK=MarineForce on May 6th, 01:04 PM
Function On Player Fire:

Or

Function On Player Fire Stops:

can u gib me those functions?
Create the fire using a timer and create explosion, and you can do the rest.

=RK=MarineForce

  • Sr. Member
  • WAR IS HELL!
  • Posts: 447
Re: hi back
« Reply #2,  »
No Bro

i just need those functions i can't see it in Wiki vcmp.

i had this functions in my server . but i can't see it.

Plese can u give?

not working...

Function OnPlayerFire(player,Weapon.Fire)

This doesn't works

Function OnPlayerStopFire(player,Fire,Weapon)
Try to UnderStand ME!

Athanatos

  • Hero Member
  • Romania Cops N Robbers Lead Developer
  • Posts: 796
Re: hi back
« Reply #3,  »
When a player shoots an entity? The event is in the client-side scripts.

=RK=MarineForce

  • Sr. Member
  • WAR IS HELL!
  • Posts: 447
Re: hi back
« Reply #4,  »
when players is on shooting he will be visible in radar and when he stops shoting he will be unvisible
Try to UnderStand ME!

Sonmez

  • Newbie
  • Yo! It's time to play the fair game!
  • Posts: 15
Re: hi back
« Reply #5,  »
Quote from =RK=MarineForce on May 6th, 01:04 PM
Function On Player Fire:

Or

Function On Player Fire Stops:

can u gib me those functions?
You can use,
Code: [Select]
function onPlayerActionChange( player, oldAction, newAction )
{
if ( newAction == 16 ) // 16 is the id of firing/shooting action.
{
 }
}

or in client side, you can use this,
Code: [Select]
function Player::PlayerShoot(player, weapon, hitEntity, hitPosition)

{

Console.Print( player.ID + " Attacking. weapon "+weapon+"" );

}
It can be more stable than onPlayerActionChange
if (!perfect) createAgain();

Gabriel_Stories

  • Newbie
  • Posts: 6
Re: hi back
« Reply #6,  »
LOL
Aceptas un Duelo ?