Lua
end
if camper[vehid] and hasCamper then
outputChatBox ( "Du kannst nur einen Wohnwagen haben!", player, 125, 0, 0 )
else
if carprices[vehid] or vioGetElementData ( player, "everyCarBuyableForFree" ) or carprice == "FroCoins" then
if vioGetElementData ( player, "maxcars" ) > vioGetElementData ( player, "curcars" ) then --Das ist die Fehlerzeile
local i = true
vioSetElementData ( player, "carbuyslot", 0 )
carslotnr = 1
sucesfull = false
for i = 1, tonumber(vioGetElementData ( player, "maxcars" )) do
Alles anzeigen