Hello guys, I need some help about scripting. I have a race map, and I would like to put a few blips on the map. I want to make it visible for all players. I have tried something in the .lua file, but it doesnt work in the game.
Here is that I have done:
function resource_starts_1 ()
creatBlip ( 4262.7416992188, -1555.828125, 43.400787353516, 3, 2, 0, 0, 0, 255, 0, 99999.0 )
creatBlip ( 4651.177734375, -1554.4113769531, 25.819654464722, 11, 2, 0, 0, 0, 255, 0, 99999.0 )
creatBlip ( 5051.4858398438, -1583.2768554688, 57.828727722168, 23, 2, 0, 255, 0, 255, 0, 99999.0 )
creatBlip ( 5006.5146484375, -1283.5164794922, 85.884986877441, 33, 2, 0, 0, 0, 255, 0, 99999.0 )
creatBlip ( 4856.8994140625, -1413.4611816406, 85.478088378906, 41, 2, 255, 0, 0, 255, 0, 99999.0 )
creatBlip ( 4680.8935546875, -1610.9580078125, 104.85077667236, 48, 2, 0, 0, 0, 255, 0, 99999.0 )
creatBlip ( 4667.119140625, -1711.8497314453, 110.76747131348, 53, 2, 0, 0, 0, 255, 0, 99999.0 )
end
addEventHandler ( "onClientResourceStart", getRootElement(), resource_starts_1 )
Can you tell me what did I do wrong or what is needed yet?