0 Üye ve 1 Ziyaretçi konuyu incelemekte.
addEventHandler ("onClientGUIClick", getResourceRootElement(getThisResource()),function ()if (source == buton1) thenplayer = getLocalPlayer() if isPedDead ( player ) or isinlanma == true then return endfadeCamera ( false, 0.5, 0, 0, 0 ) isinlanma = truesetTimer(function()setElementPosition (player , -2404.16455, -597.84552, 132.64844)setElementRotation(player , 0,0,87.734161)BugCozmek() isinlanma = false fadeCamera ( true, 0.5)end,1000,1)endend)
local noktalar ={ {-711,957,12.4,90}, {2005,1543,13.5,270}, {2485,-1667,13.3,0}, {-2405,-598,132.6,128},}buton1 = guiCreateButton(50,50,50,50,"Işınlan",false)addEventHandler ("onClientGUIClick", getResourceRootElement(getThisResource()),function ()if (source == buton1) thenplayer = getLocalPlayer() if isPedDead ( player ) or isinlanma == true then return end--fadeCamera ( false, 0.5, 0, 0, 0 ) isinlanma = truesetTimer(function()local x,y,z,r = unpack(noktalar[math.random(1,#noktalar)])setElementPosition(player,x+math.random(-3,3),y+math.random(-3,3),z)--BugCozmek() isinlanma = false fadeCamera ( true, 0.5)end,1000,1)endend)