TheKilledDeath has written
How exactly do I do that? No. This does not work. You need to divide the string
What example should I use? flackos or wups? I'm really confused.
Just to let you know, I've never learnt lua in my whole life. So this scripting language just makes my face look like these smileys.
I so need to learn the basics.
Could I write player id's manually or does that fail too?
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
addhook("say","player_say")
function player_say(id,txt)
	if (txt=="!slay|1") then
		parse("killplayer 1"..id)
		msg("©255255255The lightning has struck against "..player(id, "name").."!")
		parse("sv_sound \"wc3tft_2d/lightningbolt.ogg\"")
	end
end
edited 1×, last 14.06.09 06:05:43 pm
Lua Scripts/Questions/Help


Offline
Re: Lua Scripts/Questions/Help