AndyStyle
-
Posts
5 -
Joined
-
Last visited
Posts posted by AndyStyle
-
-
thanks I will test it when mta & gtasa works on ubuntu
-
but when when i load the houses the current + 1
so:
for i = 1, maxhouse do house[current] = createMarker(...) current = current + 1 end
-
Hey guys,
I have made an dynamic housesystem with create / load / save functions. These works.
Create the marker:
house[current] = createMarker(....)
Now I have a problem with the event 'onMarkerHit' because my marker does not have a fixed variable so I can not do this:
addEventHandler("onMarkerHit",function enter(source) for i = 1, maxhouse do return i end end ,enter123)
or this:
addEventHandler("onMarkerHit", enter(source), enter123) function enter(theplayer) for i = 1, maxhouse do return i end end
Have anyone a idea how to fix this.
- AndyStyle
-
i have voted for mta because in my opinion it is the best mod
Suche Scripter
in German / Deutsch
Posted
was bietest du denn als Gegenleistung?