13.04.2016, 15:18
pawn Code:
for(new i=0; i<MAX_VEHICLES; i++)
{
if(IsPlayerNearVehicle(playerid, i, 2) && IsLSFMDVehicle(i))
{
ambulance++;
if(ContainStretcher[i]) ambstretcher++;
}
}
if(ambulance < 0) return SendClientMessage(playerid, COLOR_GREY, "You are not near any ambulance.");
pawn Code:
new ambulance;