12-17-2020, 03:24 PM
hi, this script works perfectly for training, but the problem is that it doesn’t let my character log in again, because he bug the reconect, could I add something that would pause the script when the char logs out? alt="Huh" title="Huh" class="smilie smilie_17" />
Thanks!
I use this script to pick up the spear at the coordinate and place it in your hand
Thanks!
I use this script to pick up the spear at the coordinate and place it in your hand
PHP Code:
local MIN_COUNT = 3
local POSITION = { X = 32169, Y = 32312, Z = 7 }
local SPEAR_ID = 3277 -- Spear Id.
local player_lhand = lhand()
if player_lhand.id == 0 or (player_lhand.id == SPEAR_ID and player_lhand.count <= MIN_COUNT) then
moveitems(SPEAR_ID, 'lhand', ground(POSITION.X, POSITION.Y, POSITION.Z), 100)
wait(300)
end

