Szerző Téma: Ped anim mit rontottam el?  (Megtekintve 960 alkalommal)

Nem elérhető Ricsey

  • 259
    • Profil megtekintése
Ped anim mit rontottam el?
« Dátum: 2014. Január 22. - 15:26:17 »
0
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 )

Ped anim mit rontottam el?
« Válasz #1 Dátum: 2014. Január 22. - 15:42:36 »
0
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()

Nem elérhető Ricsey

  • 259
    • Profil megtekintése
Ped anim mit rontottam el?
« Válasz #2 Dátum: 2014. Január 22. - 18:06:50 »
0
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

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal