CreateThread(function() while true do -- draw every frame Wait(0) local pedCoords = GetEntityCoords(PlayerPedId()) DrawMarker(2, pedCoords.x, pedCoords.y, pedCoords.z + 2, 0.0, 0.0, 0.0, 0.0, 180.0, 0.0, 2.0, 2.0, 2.0, 255, 128, 0, 50, false, true, 2, nil, nil, false) end end)DrawMarker( type --[[ integer ]], posX --[[ number ]], posY --[[ number ]], posZ --[[ number ]], dirX --[[ number ]], dirY --[[ number ]], dirZ --[[ number ]], rotX --[[ number ]], rotY --[[ number ]], rotZ --[[ number ]], scaleX --[[ number ]], scaleY --[[ number ]], scaleZ --[[ number ]], red --[[ integer ]], green --[[ integer ]], blue --[[ integer ]], alpha --[[ integer ]], bobUpAndDown --[[ boolean ]], faceCamera --[[ boolean ]], p19 --[[ integer ]], rotate --[[ boolean ]], textureDict --[[ string ]], textureName --[[ string ]], drawOnEnts --[[ boolean ]] )Parameters: type: The marker type to draw. posX: The X coordinate to draw the marker at. posY: The Y coordinate to draw the marker at. posZ: The Z coordinate to draw the marker at. dirX: The X component of the direction vector for the marker, or 0.0 to use rotX/Y/Z. dirY: The Y component of the direction vector for the marker, or 0.0 to use rotX/Y/Z. dirZ: The Z component of the direction vector for the marker, or 0.0 to use rotX/Y/Z. rotX: The X rotation for the marker. Only used if the direction vector is 0.0. rotY: The Y rotation for the marker. Only used if the direction vector is 0.0. rotZ: The Z rotation for the marker. Only used if the direction vector is 0.0. scaleX: The scale for the marker on the X axis. scaleY: The scale for the marker on the Y axis. scaleZ: The scale for the marker on the Z axis. red: The red component of the marker color, on a scale from 0-255. green: The green component of the marker color, on a scale from 0-255. blue: The blue component of the marker color, on a scale from 0-255. alpha: The alpha component of the marker color, on a scale from 0-255. bobUpAndDown: Whether or not the marker should slowly animate up/down. faceCamera: Whether the marker should be a 'billboard', as in, should constantly face the camera. p19: Typically set to 2. Does not seem to matter directly. rotate: Rotations only apply to the heading. textureDict: A texture dictionary to draw the marker with, or NULL. Example: 'GolfPutting' textureName: A texture name in textureDict to draw the marker with, or NULL. Example: 'PuttingMarker' drawOnEnts: Whether or not the marker should draw on intersecting entities.