No se si esto es asi pero bueno lo intente
function CreateMarker ( playerSource )
if ( playerSource ) then
local x, y, z = getElementPosition ( playerSource )
createMarker ( x, y, z, "checkpoint", 2, 255, 0, 0, 255 )
outputChatBox ( "Grasias por LLevarnos Aqui tienes tu paga 1000$", playerSource )
end
end
addCommandHandler ( "ruta", consoleCreateMarker )
function MarkerHit( hitElement, matchingDimension )
if getElementType( hitElement ) == "player" then
givePlayerMoney ( player, 1000 )
si no es asi porfavor ayudenme a saber cual erra mi error para la siguente vez