GM SoftCores
Member
- Joined
- Jun 3, 2008
- Messages
- 149
- Reaction score
- 8
Hello i have hunting room but need help for script
My sript :
function onUse(cid, item, fromPosition, itemEx, toPosition)
local newPos = {x=971, y=1033, z=7}
if item.itemid == 10029 and doPlayerRemoveItem (cid, 2157, 1) == TRUE then
doTeleportThing(cid, newPos)
doPlayerSendTextMessage(cid,22,"You have 10 minutes into respawn.")
else
doPlayerSendCancel(cid, "You need 1 vip coin to enter.")
end
return TRUE
end
!!NEED SCRIPT KICK AFTER 10 MINUTS AND ONLY 1 PLAYERS ENTER THIS ROOM HELP PLEASE!!
My sript :
function onUse(cid, item, fromPosition, itemEx, toPosition)
local newPos = {x=971, y=1033, z=7}
if item.itemid == 10029 and doPlayerRemoveItem (cid, 2157, 1) == TRUE then
doTeleportThing(cid, newPos)
doPlayerSendTextMessage(cid,22,"You have 10 minutes into respawn.")
else
doPlayerSendCancel(cid, "You need 1 vip coin to enter.")
end
return TRUE
end
!!NEED SCRIPT KICK AFTER 10 MINUTS AND ONLY 1 PLAYERS ENTER THIS ROOM HELP PLEASE!!