Jump to content

what did i do wrong


triplesnake

Recommended Posts

{lua/code]local marker = createMarker ( x, y, z, "cylinder", 1.5, 255, 255, 0, 170 )

local blip = createBlip ( x, y, z, icon=33, int size=2, r=255, int g=15, b=75, a=255,

ordering=0, float visibleDistance=99999.0, visibleTo = getRootElement()]

local ped = createPed

local pname = getPlayerFromName("x-Racer")

i get an error on debug in second line it says ) expexted near "="

Link to comment

Well, createBlip arguments are wrong, it's the argument with the name =.

local marker = createMarker ( x, y, z, "cylinder", 1.5, 255, 255, 0, 170 ) 
local blip = createBlip ( x, y, z, 33, 2, 255, 15, 75, 255, 0, 99999.0, getRootElement() 
local pname = getPlayerFromName("x-Racer") 

EDIT: Sorry, didn't see the other topic.

Link to comment

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...