Arcas has written and
And can you explain what you did? PLease?
If so,
for you.
1
2
3
4
5
2
3
4
5
addhook ("spawn","meleespawn")
	if (player(id,"exists")) then
		>return "x"
	end
end
1
2
3
4
5
6
2
3
4
5
6
addhook("say","portalequip")
	if (txt=="!portal") then
		parse ("equip ("id","88"))
		end
	end
end
If so,
for you.First, you didn't add the function in those
and the return value
you didn't place it correctly.
It should be "return "x""
not ">return "x""
You need to change the x to the item you want them to spawn with.
the second one, you added an extra end without the function also. And the "parsing" is incorrect
1
2
3
4
5
6
7
8
9
10
11
12
13
14
2
3
4
5
6
7
8
9
10
11
12
13
14
addhook("spawn","meleespawn")
function meleespawn(id)
	if player(id,"exists") then
		return "x"
	end
end
addhook("say","portalequip")
function portalequip(id,txt)
	if txt=="!portal" then
		parse("equip "..id.." 88")
	end
end
Lua Scripts/Questions/Help


Offline
Ty anyway
)