13.11.2016, 16:48
returns 0.
after destroying vehicle id 5, 8 and 10:
Code used:
PHP код:
VehicleID: 1 | Status: Exists
VehicleID: 2 | Status: Exists
VehicleID: 3 | Status: Exists
VehicleID: 4 | Status: Exists
VehicleID: 5 | Status: Exists
VehicleID: 6 | Status: Exists
VehicleID: 7 | Status: Exists
VehicleID: 8 | Status: Exists
VehicleID: 9 | Status: Exists
VehicleID: 10 | Status: Exists
VehicleID: 11 | Status: Exists
VehicleID: 12 | Status: Exists
VehicleID: 13 | Status: Exists
VehicleID: 14 | Status: Exists
VehicleID: 15 | Status: Exists
VehicleID: 16 | Status: Exists
VehicleID: 17 | Status: Exists
VehicleID: 18 | Status: Exists
VehicleID: 19 | Status: Exists
VehicleID: 20 | Status: Exists
VehicleID: 21 | Status: Exists
VehicleID: 22 | Status: Exists
VehicleID: 23 | Status: Exists
VehicleID: 24 | Status: Exists
VehicleID: 25 | Status: Exists
VehicleID: 26 | Status: Exists
VehicleID: 27 | Status: Exists
VehicleID: 28 | Status: Exists
VehicleID: 29 | Status: Exists
VehicleID: 30 | Status: Exists
VehicleID: 31 | Status: Exists
VehicleID: 32 | Status: Exists
VehicleID: 33 | Status: Exists
VehicleID: 34 | Status: Exists
VehicleID: 35 | Status: Exists
VehicleID: 36 | Status: Exists
VehicleID: 37 | Status: Exists
VehicleID: 38 | Status: Exists
VehicleID: 39 | Status: Exists
VehicleID: 40 | Status: Exists
VehicleID: 41 | Status: Exists
VehicleID: 42 | Status: Exists
VehicleID: 43 | Status: Exists
VehicleID: 44 | Status: Exists
VehicleID: 45 | Status: Exists
VehicleID: 46 | Status: Exists
VehicleID: 47 | Status: Exists
VehicleID: 48 | Status: Exists
VehicleID: 49 | Status: Exists
VehicleID: 50 | Status: Exists
VehicleID: 51 | Status: Exists
VehicleID: 52 | Status: Exists
VehicleID: 53 | Status: Exists
VehicleID: 54 | Status: Exists
VehicleID: 55 | Status: Exists
VehicleID: 56 | Status: Exists
VehicleID: 57 | Status: Exists
VehicleID: 58 | Status: Exists
VehicleID: 59 | Status: Exists
VehicleID: 60 | Status: Exists
VehicleID: 61 | Status: Exists
VehicleID: 62 | Status: Exists
VehicleID: 63 | Status: Exists
VehicleID: 64 | Status: Exists
VehicleID: 65 | Status: Exists
VehicleID: 66 | Status: Exists
VehicleID: 67 | Status: Exists
VehicleID: 68 | Status: Exists
VehicleID: 69 | Status: Exists
VehicleID: 70 | Status: Exists
VehicleID: 71 | Status: Exists
VehicleID: 72 | Status: Exists
VehicleID: 73 | Status: Exists
VehicleID: 74 | Status: Exists
VehicleID: 75 | Status: Exists
VehicleID: 76 | Status: Exists
VehicleID: 77 | Status: Exists
VehicleID: 78 | Status: Exists
VehicleID: 79 | Status: Exists
VehicleID: 80 | Status: Exists
VehicleID: 81 | Status: Exists
VehicleID: 82 | Status: Exists
VehicleID: 83 | Status: Exists
VehicleID: 84 | Status: Exists
VehicleID: 85 | Status: Exists
VehicleID: 86 | Status: Exists
VehicleID: 87 | Status: Exists
VehicleID: 88 | Status: Exists
VehicleID: 89 | Status: Exists
VehicleID: 90 | Status: Exists
VehicleID: 91 | Status: Exists
VehicleID: 92 | Status: Exists
VehicleID: 93 | Status: Exists
VehicleID: 94 | Status: Exists
VehicleID: 95 | Status: Exists
VehicleID: 96 | Status: Exists
VehicleID: 97 | Status: Exists
VehicleID: 98 | Status: Exists
VehicleID: 99 | Status: Exists
PHP код:
VehicleID: 1 | Status: Exists
VehicleID: 2 | Status: Exists
VehicleID: 3 | Status: Exists
VehicleID: 4 | Status: Exists
VehicleID: 5 | Status: Doesn't exist
VehicleID: 6 | Status: Exists
VehicleID: 7 | Status: Exists
VehicleID: 8 | Status: Doesn't exist
VehicleID: 9 | Status: Exists
VehicleID: 10 | Status: Doesn't exist
VehicleID: 11 | Status: Exists
VehicleID: 12 | Status: Exists
VehicleID: 13 | Status: Exists
VehicleID: 14 | Status: Exists
VehicleID: 15 | Status: Exists
VehicleID: 16 | Status: Exists
VehicleID: 17 | Status: Exists
VehicleID: 18 | Status: Exists
VehicleID: 19 | Status: Exists
VehicleID: 20 | Status: Exists
VehicleID: 21 | Status: Exists
VehicleID: 22 | Status: Exists
VehicleID: 23 | Status: Exists
VehicleID: 24 | Status: Exists
VehicleID: 25 | Status: Exists
VehicleID: 26 | Status: Exists
VehicleID: 27 | Status: Exists
VehicleID: 28 | Status: Exists
VehicleID: 29 | Status: Exists
VehicleID: 30 | Status: Exists
VehicleID: 31 | Status: Exists
VehicleID: 32 | Status: Exists
VehicleID: 33 | Status: Exists
VehicleID: 34 | Status: Exists
VehicleID: 35 | Status: Exists
VehicleID: 36 | Status: Exists
VehicleID: 37 | Status: Exists
VehicleID: 38 | Status: Exists
VehicleID: 39 | Status: Exists
VehicleID: 40 | Status: Exists
VehicleID: 41 | Status: Exists
VehicleID: 42 | Status: Exists
VehicleID: 43 | Status: Exists
VehicleID: 44 | Status: Exists
VehicleID: 45 | Status: Exists
VehicleID: 46 | Status: Exists
VehicleID: 47 | Status: Exists
VehicleID: 48 | Status: Exists
VehicleID: 49 | Status: Exists
VehicleID: 50 | Status: Exists
VehicleID: 51 | Status: Exists
VehicleID: 52 | Status: Exists
VehicleID: 53 | Status: Exists
VehicleID: 54 | Status: Exists
VehicleID: 55 | Status: Exists
VehicleID: 56 | Status: Exists
VehicleID: 57 | Status: Exists
VehicleID: 58 | Status: Exists
VehicleID: 59 | Status: Exists
VehicleID: 60 | Status: Exists
VehicleID: 61 | Status: Exists
VehicleID: 62 | Status: Exists
VehicleID: 63 | Status: Exists
VehicleID: 64 | Status: Exists
VehicleID: 65 | Status: Exists
VehicleID: 66 | Status: Exists
VehicleID: 67 | Status: Exists
VehicleID: 68 | Status: Exists
VehicleID: 69 | Status: Exists
VehicleID: 70 | Status: Exists
VehicleID: 71 | Status: Exists
VehicleID: 72 | Status: Exists
VehicleID: 73 | Status: Exists
VehicleID: 74 | Status: Exists
VehicleID: 75 | Status: Exists
VehicleID: 76 | Status: Exists
VehicleID: 77 | Status: Exists
VehicleID: 78 | Status: Exists
VehicleID: 79 | Status: Exists
VehicleID: 80 | Status: Exists
VehicleID: 81 | Status: Exists
VehicleID: 82 | Status: Exists
VehicleID: 83 | Status: Exists
VehicleID: 84 | Status: Exists
VehicleID: 85 | Status: Exists
VehicleID: 86 | Status: Exists
VehicleID: 87 | Status: Exists
VehicleID: 88 | Status: Exists
VehicleID: 89 | Status: Exists
VehicleID: 90 | Status: Exists
VehicleID: 91 | Status: Exists
VehicleID: 92 | Status: Exists
VehicleID: 93 | Status: Exists
VehicleID: 94 | Status: Exists
VehicleID: 95 | Status: Exists
VehicleID: 96 | Status: Exists
VehicleID: 97 | Status: Exists
VehicleID: 98 | Status: Exists
VehicleID: 99 | Status: Exists
PHP код:
for(new i = 1; i < 100; i++)
{
printf("VehicleID: %d | Status: %s",i, (IsValidVehicle(i)) ? ("Exists") : ("Doesn't exist"));
}
DestroyVehicle(5);
DestroyVehicle(8);
DestroyVehicle(10);
for(new i = 1; i < 100; i++)
{
printf("VehicleID: %d | Status: %s",i, (IsValidVehicle(i)) ? ("Exists") : ("Doesn't exist"));
}