[lua]brama1 = createObject( 11313, -2102.099,-38, 36.299, 0, 0, 180 )
function bramao (thePlayer)
if getElementData(thePlayer,'player:duty') and getElementData(thePlayer,'player:duty')=='PSP' then
moveObject ( brama1, 2000, -2102.099,-38, 32.3)
end
end
addCommandHandler("o",bramao)
function bramaz (thePlayer)
if getElementData(thePlayer,'player:duty') and getElementData(thePlayer,'player:duty')=='PSP' then
moveObject ( brama1, 2000, -2102.099,-38, 36.299)
end
end
addCommandHandler("z",bramaz)
---------------------------------
brama2 = createObject( 11313, -2102.100,-28.5, 36.299, 0, 0, 180 )
function bramao (thePlayer)
if getElementData(thePlayer,'player:duty') and getElementData(thePlayer,'player:duty')=='PSP' then
moveObject ( brama2, 2000, -2102.100,-28.5, 32.3)
end
end
addCommandHandler("o",bramao)
function bramaz (thePlayer)
if getElementData(thePlayer,'player:duty') and getElementData(thePlayer,'player:duty')=='PSP' then
moveObject ( brama2, 2000, -2102.100,-28.5, 36.299)
end
end
addCommandHandler("z",bramaz)
---------------------------------
brama3 = createObject( 11313, -2102.100,-18.799, 36.299, 0, 0, 180 )
function bramao (thePlayer)
if getElementData(thePlayer,'player:duty') and getElementData(thePlayer,'player:duty')=='PSP' then
moveObject ( brama3, 2000, -2102.100,-18.799, 32.3)
end
end
addCommandHandler("o",bramao)
function bramaz (thePlayer... |