I am trying to use this now but when I add that code, ped is getting lost.( ped script not working when I add elementfroozen)
@HassoN Ok now I fixed the getting lost problem, but now the problem is ped still going back when I hit him,
code;
function pedLoad(balikci)
createPed ( 36, 1623.5778808594, 576.61004638672, 1.7578125 )
setElementFrozen( "balikci", true )
end
addEventHandler("onResourceStart", getResourceRootElement(), pedLoad)