function startBlip()
for _,vehicles in ipairs(getElementsByType("vehicle")) do
local id = getElementModel(vehicles)
if id == 596 or id == 599 then
createBlipAttachedTo (vehicles , 2 )
end
end
end
ممكن تصلح الغلط بهذا الكود
ممكن مثال من عندك عن هذا الفنكشن
#Edit:
function startBlip(thePlayer)
local id = getVehicleID ( theVehicle )
if id == 596 or id == 599 then
createBlipAttachedTo ( , 2 )
end
end
ممكن حد يصلح لي الكود ذه
المود يقول انه يضع على كل سيارات الشرطه علامه