عشانك جديد بعطيك الكود هاذي المرة جاهز
addEvent("buyInvisible", true)
addEventHandler("buyInvisible", getRootElement(),
function()
if ( getPlayerMoney (source) >= 20000 ) then
takePlayerMoney(source, 20000)
outputChatBox("Others cant see you now.", source, 255, 255, 0, true)
setElementAlpha(getPedOccupiedVehicle(source),0)
setElementAlpha(source,0)
setPlayerNametagShowing(source, false)
setTimer( setElementAlpha, 60000, 1, source, 500, true)
setTimer( setElementAlpha, 60000, 1, getPedOccupiedVehicle(source), 500, true)
setTimer( setPlayerNametagShowing, 60000, 1, source, true, true)
else
outputChatBox("Not enough money.", source, 255, 0, 0, true)
end
end
)
عليك التعديل