Today I create /createmarker script, it's allow me to create checkpoint.
My question is how to add blip when I type /createmarker and how to create cmd "removemarker" that remove the marker.
This is my "createmarker" script:
function consoleCreateMarker ( playerSource )
if ( playerSource ) then
local x, y, z = getElementPosition ( playerSource )
createMarker ( x, y, z, "checkpoint", 2, 255, 0, 0, 255 )
end
end
addCommandHandler ( "createmarker", consoleCreateMarker )
Question
Batista
Hello all,
Today I create /createmarker script, it's allow me to create checkpoint.
My question is how to add blip when I type /createmarker and how to create cmd "removemarker" that remove the marker.
This is my "createmarker" script:
Thanks.
Link to comment
6 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now