AbAeterno has writtenWhat are you trying to do with "Spawnplayer"?
To change a player's new spawn in tibia, use this: Note:X and Y is in pixels, not tiles!
EDIT:With new spawn, I mean where would the player spawn if he/she dies.
To change a player's new spawn in tibia, use this:
1
PLAYERS[id].Spawn = {X, Y}
EDIT:With new spawn, I mean where would the player spawn if he/she dies.
He did not want to choose position, he wants a fixed position
@topic
1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
elseif command =="j" then
parse("setpos "..id.." 7696 12496")
end
addhook("startround","startround")
function startround (id,spawn)
parse("setpos "..id.." 7696 12496")
msg2(id,'©000255000you sent Player To Jail')
else
msg2(id,'©255000000 ERROR')
end
return 1
end
end
work?
can someone fix this?


Offline