Hey ich hab in den Logs die ganze Zeit das stehen:
[2014-08-13 23:22:03] WARNING: [vio]/vio/vip/vip_server.lua:115: Bad argument @ 'setMarkerColor' [Expected number at argument 5, got none]
Und im Skript steht da:
------------------- COLOR -------------------
---------------------------------------------
local i = 1
local r = 255
local g = 0
local b = 0
setTimer(function()
if i == 1 then
r = r-5
g = g+5
if r <= 0 then i = 2 end
end
if i == 2 then
g = g-5
b = b+5
if g <= 0 then i = 3 end
end
if i == 3 then
b = b-5
r = r+5
if b <= 0 then i = 1 end
end
setMarkerColor(vipCafeEnter, r, g, b)
end, 100, -1 )
Was muss ich daran ändern ? Der Marker geht dennoch
(Bin skript anfänger und Lerne jeden Tag dazu also nicht gleich als noop abstempeln)
PS Das ist das Vio Extended Skript erweiterung SineCity.