batlaizys has written
I would like to get such a script...
when u say !hide a wall 3 or wall 2 etc. appears.
Its good for construction mod when u can hide between buildings
I managed to make 1 ,but when i say it a supply appears on ALL of players... Idk how to make this code thingy...
i would write it...
parse("mp_building_health supply 10000")
addhook("say","build")
function build(id,txt)
for id=1,32 do
if (txt=="!hide") then
parse("spawnobject 9 "..player(id,"tilex").." "..player(id,"tiley").." 1 1 1 1")
end
end
end
plz help...
when u say !hide a wall 3 or wall 2 etc. appears.
Its good for construction mod when u can hide between buildings
I managed to make 1 ,but when i say it a supply appears on ALL of players... Idk how to make this code thingy...
i would write it...
parse("mp_building_health supply 10000")
addhook("say","build")
function build(id,txt)
for id=1,32 do
if (txt=="!hide") then
parse("spawnobject 9 "..player(id,"tilex").." "..player(id,"tiley").." 1 1 1 1")
end
end
end
plz help...
1
2
3
4
5
6
2
3
4
5
6
addhook("say","hidesay") function hidesay(id,txt) 	if txt == "!hide" then 		parse ("spawnobject "..math.random(3,4).." "..player(id,"tilex").." "..player(id,"tiley")) 	end end
this work :
if player say "!hide" then in his position will appear wall1 or wall2 ...
and please can some1 help me with one problem?, read my older answer.