22.08.2014, 20:17
pawn Код:
for(new f = 0; f < sizeof(FamilyInfo); f++)
{
new v = GetGangVehicle(f, closestcar);
if(v != -1)
{
new str2[128 + MAX_PLAYER_NAME];
format(str2, sizeof(str2), "Vehicle registration: %d | Name: %s | Owner: %s.",closestcar,GetVehicleFriendlyName(FamilyVehicleInfo[f][v][fvId]),FamilyInfo[f][FamilyLeader]);
SendClientMessage(playerid, COLOR_WHITE, str2);
return 1;
}
}
SendClientMessage(playerid, COLOR_GRAD2, "This vehicle is not owned by anyone!");
}
}