Forum

> > Trash > Setpos Script
Forums overviewTrash overviewLog in to reply

English Setpos Script

1 reply
To the start Previous 1 Next To the start

closed moved Setpos Script

glebec
User Off Offline

Quote
Hi all!I need script to setpos players.
When Admins strike by p228 or elite or five-7 player setpos to Prison.
Pleese give me this script

DC DELETE IT PLEESE!

old Re: Setpos Script

EnderCrypt
User Off Offline

Quote
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
my_usgn = // write your usgn here
prison_port_weapon = {4,5,6}

addhook("hit","hit_hook")
function hit_hook(id,source,weapon,hpdmg,apdmg)
if player(source,"usgn") == my_usgn then
i = 0
while (i < #prison_port_weapon) do
i = i + 1
if weapon == prison_port_weapon [i] then
parse("setpos "..id.." prison_x prison_y")
end
end
end
end

i havent tested might work
first set your usgn
also change prison_x and prison_y to the position of the prison (cell)
To the start Previous 1 Next To the start
Log in to replyTrash overviewForums overview