Hello
Próbálkoztam egy olyannal hogy a pednek legyen animja de a pedet le sem spawnolja :S
function pedLoad ( disco )
disco = createPed ( 177, 2026.19995, 2166.5, 11.4 )
setPedRotation( disco, 90.004)
setPedAnimation( disco, \"ped\", \"RIOT_CHANT\")
end
addEventHandler ( \"onResourceStart\", getResourceRootElement(), pedLoad )
function pedLoad ()
disco = createPed ( 177, 2026.19995, 2166.5, 11.4 )
setPedRotation( disco, 90.004)
setPedAnimation( disco, \"ped\", \"RIOT_CHANT\")
end
pedLoad()
Ha nem teszi animba, akkor:
function pedLoad ()
disco = createPed ( 177, 2026.19995, 2166.5, 11.4 )
setPedRotation( disco, 90.004)
setTimer(function() setPedAnimation( disco, \"ped\", \"RIOT_CHANT\") end, 500,1)
end
pedLoad()
function pedLoad ()
disco = createPed ( 177, 2026.19995, 2166.5, 11.4 )
setPedRotation( disco, 90.004)
setPedAnimation( disco, \"ped\", \"RIOT_CHANT\")
end
pedLoad()
Ha nem teszi animba, akkor:
function pedLoad ()
disco = createPed ( 177, 2026.19995, 2166.5, 11.4 )
setPedRotation( disco, 90.004)
setTimer(function() setPedAnimation( disco, \"ped\", \"RIOT_CHANT\") end, 500,1)
end
pedLoad()
Most már le spawnol csak az animot egyiknél sem teszi be