Forum

> > CS2D > Scripts > FN-67 Player spawn hit fn spawn player at
Forums overviewCS2D overview Scripts overviewLog in to reply

English FN-67 Player spawn hit fn spawn player at

3 replies
To the start Previous 1 Next To the start

old FN-67 Player spawn hit fn spawn player at

Leonidas12
User Off Offline

Quote
its my lua its working and team lock is no t working..
t retry joins t and escapes i tried this and not worked
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
-- hooks
addhook("startround","telemsg")
addhook("hit","telego")
addhook("spawn","_spawn")
-- variables
tile_x = 130
tile_y = 60

-- functions
function telemsg()
     msg("©255000000Lua Made By Neomage")
end

function telego(id,src,wpn)
     if wpn == 6 then
          -- I assume the position given are in tiles, so...
          local rx = (tile_x*32)+16
          local ry = (tile_y*32)+16
          parse("setpos "..id.." "..rx.." "..ry)
     end
end
i need a code from im hitted t and hitted t only spawns at 130x 60y tiles ok
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview