--Create Stuff
function testCreateTrainStuff()
test_marker_request = createMarker( 1543.98962, -1670.46398, 12.55753 , "cylinder", 1.5, 255, 0, 0, 170)
createBlip ( 1543.98962, -1670.46398, 13.55753 , 41)
createPed (280,1543.98962,-1670.46398,13.55753, 5.0)
setElementFrozen ( ped, true )
end
addEventHandler
("onResourceStart",getResourceRootElement(getThisResource()),testCreateTestStuff)
--Create Vehicle
function testCreateTest ()
theTest = createVehicle (596, 1535.05615, -1675.60766, 12.96008)
outputChatBox ("Você virou Policial",source, 255, 00, 00)
end
addEvent ("testCreateTest",true)
addEventHandler ("testCreateTest",getRootElement(),testCreateTest)
--Test Gui
function testCreateTestGUI(hitElement)
if source == test_marker_request then
triggerClientEvent (hitElement,"testCreateTestGUI",getRootElement())
end
end
addEventHandler ("onMarkerHit",getRootElement(),testCreateTestGUI)
this feature is not working could anyone help me?
would also have put to take a team and a skin?
this test_s