0 Üye ve 1 Ziyaretçi konuyu incelemekte.
function change()--animasyonu sıfırlama setPedAnimationProgress(localPlayer, "car_crawloutrhs", 0) setTimer(change, 800, 1)endfunction render()--rotasyon setElementRotation(localPlayer,0,0,Camera.matrix:getRotation():getZ():+90)endstate = falsefunction start() state = not state if state then setPedAnimation(localPlayer,"","") killTimer(change) removeEventHandler("onClientRender",root,render,true,"low") else setPedAnimation(localPlayer, "ped", "car_crawloutrhs") setTimer(change,800,1) addEventHandler("onClientRender",root,render,true,"low") endendaddCommandHandler("crawl",start)<oop>0</oop>toggleControl() -- forwardaddEvent:onClientKey -- w,a,s,d ( animation progress )