Hallo,
da ich mein thema schon als erledigt markiert habe weil ich dachte das ich nix mehr brauche
ist mir plötzlich noch eingefallen das die spieler ihr object nicht wechseln können also habe ich nochmal etwas gescriptet aber iwas ist da fehlerhaft
----------------------------------------------------------------------------------------------------------------------------------------------------------
So als zweites ist da noch das:
Lua
addCommandHandler("whistle",
function ()
if getTeamName(getPlayerTeam(thePlayer)) == "Verstecker" then
local x, y, z = getElementPosition(thePlayer)
sound1 = playSound3D("Sounds/whistle.mp3", x, y, z, true)
setSoundVolume(sound1, 1.6)
outputChatBox("You whistled", thePlayer)
else
outputChatBox("You're not allowed to use this command!", thePlayer)
end
end
Alles anzeigen
aber immer wenn ich /whistle mache kommt kein einziger ton