pool balls shot will not stop during movement
This commit is contained in:
parent
349c508814
commit
99903baeb0
@ -1356,7 +1356,7 @@ hook OnPlayerWeaponShot( playerid, weaponid, hittype, hitid, Float: fX, Float: f
|
||||
poolball_index = GetPoolBallIndexFromModel( GetObjectModel( hitid ) );
|
||||
|
||||
if ( poolball_index != -1 ) {
|
||||
foreach ( new poolid : pooltables ) if ( g_poolTableData[ poolid ] [ E_STARTED ] ) {
|
||||
foreach ( new poolid : pooltables ) if ( g_poolTableData[ poolid ] [ E_STARTED ] && ( g_poolBallData[ poolid ] [ E_POCKETED ] [ i ] || ! PHY_IsObjectMoving( g_poolBallData[ poolid ] [ E_BALL_OBJECT ] [ i ] ) ) ) {
|
||||
Pool_ResetBallPositions( poolid, poolball_index, poolball_index + 1 );
|
||||
break;
|
||||
}
|
||||
|
@ -8,4 +8,5 @@
|
||||
(/) Jail times now decreased by 40% and bobby pin prices have been increased.
|
||||
(*) Players inside a vehicle that is brought by a player will be respawned.
|
||||
(*) Fixes issue with being unable to exit a meth van.
|
||||
(*) If you shoot a ball, it will not stop it while it is moving.
|
||||
(*) Fix textdraw issue within casinos.
|
Loading…
Reference in New Issue
Block a user