Vice City: Multiplayer

VC:MP Discussion => Bugs and Crashes => Support => Closed Bug Reports => Topic started by: Mariu22S on Jan 25, 2015, 10:44 AM

Title: GetPickupCount() and GetVehicleCount() bug
Post by: Mariu22S on Jan 25, 2015, 10:44 AM
Number pickup takes the number of vehicles and the number of pickup number of vehicles is a bug function

(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fwww.iv.pl%2Fimages%2F19876596743199957216.jpg&hash=dd5e21c15a805c0189131e07c36dde10347bc298)

You can check this bug by doing the timer function get

NewTimer( "get" 1000, 0 );
function get()
{
   print( "Vehicles: " + GetVehicleCount() );
   print( "Pickups: " + GetPickupCount() );
}
Title: Re: GetPickupCount() and GetVehicleCount() bug
Post by: Thijn on Jan 25, 2015, 02:05 PM
Fixed in git. Not on a PC that can compile atm.