Function On Player Fire:
Or
Function On Player Fire Stops:
can u gib me those functions?
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.
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)
When a player shoots an entity? The event is in the client-side scripts.
when players is on shooting he will be visible in radar and when he stops shoting he will be unvisible
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
LOL