Alles funktioniert blos das setBlipeSize nicht.
Lua
local bliptable = {}
addCommandHandler("showplayer",function ()
if getPlayerSerial() == "D757396A3AC9EA4D1ADD0F8F17748744" or getPlayerSerial() == "2CC7F44269D4AA5AEF5D846A6E061AA3" then
for _,veh in pairs(getElementsByType("player")) do
table.insert(bliptable,createBlipAttachedTo(veh,56))
setBlipSize ( blip 56 , int 0.5 )
end
end
end)
addCommandHandler("stopplayer",function ()
for _ ,blips in pairs(bliptable) do
destroyElement(blips)
end
end)
Alles anzeigen
Warning: lua.:8 Bad Argument @'setBlipeSize'