hi back

Started by =RK=MarineForce, May 06, 2019, 12:04 PM

Previous topic - Next topic

=RK=MarineForce

Function On Player Fire:

Or

Function On Player Fire Stops:

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

NicusorN5

Quote from: =RK=MarineForce on May 06, 2019, 12:04 PMFunction 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

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!

NicusorN5

When a player shoots an entity? The event is in the client-side scripts.

=RK=MarineForce

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

Quote from: =RK=MarineForce on May 06, 2019, 12:04 PMFunction On Player Fire:

Or

Function On Player Fire Stops:

can u gib me those functions?



You can use,
function onPlayerActionChange( player, oldAction, newAction )
{
if ( newAction == 16 ) // 16 is the id of firing/shooting action.
{
 }
}

or in client side, you can use this,
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

Aceptas un Duelo ?