اطرح اكوادك
pigChangPos = createMarker (-1471.64893 ,-2160.75781 ,2.55928-1.5,'cylinder',3,0,0,0,0)
setElementDimension (pigChangPos,1001)
pig = createPed (15,-1454.93726,-2169.44409,5.92978,60)
setElementDimension (pig,1001)
setPedAnimation (pig,'ped','WALK_old')
addEventHandler("onClientMarkerHit",root,
function ( Hit )
if ( Hit == localPlayer ) and ( getElementType ( Hit ) == "Ped" ) then
if pig and isElement ( pig ) then
outputChatBox ('done')
-- setElementRotation ( ... )
end
end
end );