Firstly, try not to create two topics with the same question.
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 ped = createPed( skin, x, y, z )
local pname = getPlayerFromName("x-Racer")