Habe ein Skript erstellt mit denen man Peds erstellen kann.
Klappt auch, aber nur der erste Ped der erstell wird führ diese Animation aus, die anderen nich...
Keine Errors
Skrip:
Lua
function nutte (thePlayer, cmd, id)
x, y, z = getElementPosition(thePlayer)
if id == "1" then
setElementID(createPed(92, x +1, y, z), "test")
setPedAnimation(getElementByID("test"), "STRIP", "strip_A")
elseif id == "2" then
setElementID(createPed(140, x +1, y, z), "test1")
setPedAnimation(getElementByID("test1"), "STRIP", "strip_B")
end
end
addCommandHandler("nutte", nutte)
Alles anzeigen