So i just wanna make a blip i can have on the minimap (also remove it later on such as when a player goes into a interior) Only problem code doesnt wanna work.
also tried putting the last 2 digits on a array didnt work.
Original code as on forum:
i dont get any errors printed in the console but at same time i dont get any blips at the same time.
Code Select
bindEventHandler("OnResourceStart", thisResource, (event,resource) => {
gta.createBlip(BLIP_ROMAN,[815.8858032226562,-274.563232421875,14.757908821105957],2,0);
var model = parseInt();
var romancar = gta.createVehicle(-1932515764,[810.32275390625,-266.7314147949219,14.848393440246582]);
addToWorld(romancar);
});
I tried using thisCode Select
gta.createBlip(27,[815.8858032226562,-274.563232421875,14.757908821105957],2,0);
that didnt work also tried the hexadecimal number but to no avail.also tried putting the last 2 digits on a array didnt work.
Original code as on forum:
Code Select
Blip gta.createBlip(int icon, Vec3 position, [ int size = 2, int colour = 0 ])
I feel like i just missed a small thing i just dont know what.i dont get any errors printed in the console but at same time i dont get any blips at the same time.