I think I am learing how to script (Sort of the realy basics)
#6
(05-14-2011, 10:20 PM)Qwertygiy Wrote: [lua]
count = 0
while true do
sleep(1)
print("Looping.")
count = count + 1
if count > 10 then
break
end
end
[/lua]

Why not just do:

[lua]
count = 0
while count <= 10 do
print("Looping.")
count = count + 1
end
[/lua]
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)