Forum

> > CS2D > Scripts > Spawning item
Forums overviewCS2D overview Scripts overviewLog in to reply

English Spawning item

16 replies
To the start Previous 1 Next To the start

old Spawning item

Hanz
User Off Offline

Quote
How to spawning item on tiles every 60 seconds??

I mean how we can spawning item example: gold without editing the map? So just need to make a lua script like just write ("tiles 9,item 68,1800 seconds,10 each) -.- but i dosen't know what it the correct can you help me?

Can you make it ? i need the script have tiles = 9 and the item 68 and spawn every 1800 seconds and 10 each every spawn

old Re: Spawning item

Cure Pikachu
User Off Offline

Quote
I suppose you want the gold to spawn 10 times on one spot every 30 minutes (1800 seconds).
1
2
3
4
5
6
7
8
9
10
11
12
timer = 0

addhook("minute","spawngold")
function spawngold()
	timer = timer + 1
	if timer == 30 then
		for g = 1, 10 do
			parse("spawnitem 68 9 9")
		end
		timer = 0
	end
end

old Re: Spawning item

Hanz
User Off Offline

Quote
looks like it not work (I mean how to use it?)
edited 1×, last 23.04.11 03:38:56 pm

old Re: Spawning item

3RROR
User Off Offline

Quote
Did you tryed to put the right place?
becasue it's
1
parse("spawnitem 68 X Y")

old Re: Spawning item

Hanz
User Off Offline

Quote
@Redfrix Yap you are right spawnitem x y because that i confius for what x 9 and y 9 ?? i need spawn item script 10 ea gold every 30 minutes on tiles number 9 not x and y place haha

I think pikachu was error brain mode

old Re: Spawning item

Yates
Reviewer Off Offline

Quote
user Hanz has written
I think pikachu was error brain mode

Well, you shouldn't say that to someone that is helping you, moreover make your own lua if you're going to act like that.

old Re: Spawning item

Hanz
User Off Offline

Quote
user Yates has written
user Hanz has written
I think pikachu was error brain mode

Well, you shouldn't say that to someone that is helping you, moreover make your own lua if you're going to act like that.


No i not want to say pikachu is idiot or what i just like want to tell you he condition is not as well like a normal human i think he was tired or what because that maybe he was forgot what it's the true component of spawnitem command

yates i know you can make this lua -.- because i already check it your roleplay have it

old Re: Spawning item

Hanz
User Off Offline

Quote
user Yates has written
I can't lua.

Did you actually read my post?


Ya i read it hmm can't make lua ? so who make that roleplay script ??

old Re: Spawning item

Hanz
User Off Offline

Quote
Haha i forgot it was yasday not yates muahaha because your name is same yates and the pic i think it was same too "it already tonight i'm confius now because trying to launch new game server cs 1.6 and rose online i already succes on cs2d now i want launch new server too)

old Re: Spawning item

Passer
User Off Offline

Quote
@Smile Pikachu Never Error he was good at lua

you just a copyer that said you are the maker of Blocker lua , but you cant make spawn money lol wtf?? you just copycat.. i hate you copycat!!

@Yated he said that FG rolepay script .. maybe

old Re: Spawning item

Hanz
User Off Offline

Quote
user Passer has written
@Smile Pikachu Never Error he was good at lua

you just a copyer that said you are the maker of Blocker lua , but you cant make spawn money lol wtf?? you just copycat.. i hate you copycat!!

@Yated he said that FG rolepay script .. maybe


What the hell is going on? did you have proff when i'm saying blocker script is made by me ? noobs

oh ya passer i know you hate me because i'm kicking your admin on my server btw you still can be admin but you saying i'm bla bla bla and saying to other people about me (but it's not true)
edited 1×, last 23.04.11 05:47:31 pm

old Re: Spawning item

Passer
User Off Offline

Quote
iam admin at many server ,, ididnt like your server that was copycat

old Re: Spawning item

Hanz
User Off Offline

Quote
user Passer has written
iam admin at many server ,, ididnt like your server that was copycat


you are a liar i already see many server no one tag you as admin
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview