GTA Közösség - A magyar GTA fórum

Multi Theft Auto (MTA) => MTA: Szerverfejlesztés => Archívum => A témát indította: Ricsey - 2014. Január 22. - 15:26:17

Cím: Ped anim mit rontottam el?
Írta: Ricsey - 2014. Január 22. - 15:26:17
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 )
Cím: Ped anim mit rontottam el?
Írta: muHaHaHa - 2014. Január 22. - 15:42:36
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()
Cím: Ped anim mit rontottam el?
Írta: Ricsey - 2014. Január 22. - 18:06:50
Idézetet írta: Oxsotus date=1390401756\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"45947\" data-ipsquote-contentclass=\"forums_Topic

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