Jump to content

Trucker


Michael_Tuner

Recommended Posts

Posted

I am I starter scipter so I need some.... I ment a lot of help. And I need some from this:-

I want to make a trucker script for that how will I make one marker appear at that time only? can you tell me the script?

Posted

start by reading tutorials, wiki, and about lua language..

if I understand you correctly, you can hide all markers via:

local markers = getElementsByType('marker')
for key,val in ipairs(marker) do
  SetElementAlpha(val,0)
end

this should work, but may not work, as i wrote it in browser

remember you will need to do it both client and server side

Posted

varez: I'm fairly sure he meant creating the marker when someone started a mission, not hiding all markers.

To do this, you use createMarker. However, before you start anything, you should pick up some lua tutorials. Afterwards, you can take a look here.

Posted

I told you; createMarker.

Starting in the middle of a project is sort of a bad idea, however. You should really learn some Lua first, then you can take a look at my guide and the wiki.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...