Sir MoX
New Member
- Joined
- Jan 14, 2009
- Messages
- 285
- Reaction score
- 1
hi, when i start the server the script to make citizen the players of the cities has an error so I need someone who can fix it please ^^
and heres the problem that appear in the starter:
function onStepIn(cid, item, pos)
if isPlayer(cid) == TRUE then
if (item.actionid == 5000) then
doPlayerSendTextMessage(cid,22,"Now you are citizen of Thais City.")
doPlayerSetTown(cid,1)
elseif (item.actionid == 5001) then
doPlayerSendTextMessage(cid,22,"Now you are citizen of Venriel City.")
doPlayerSetTown(cid,4)
elseif (item.actionid == 5002) then
doPlayerSendTextMessage(cid,22,"Now you are citizen of Kosiji City.")
doPlayerSetTown(cid,2)
elseif (item.actionid == 5003) then
doPlayerSendTextMessage(cid,22,"Now you are citizen of Asgard City.")
doPlayerSetTown(cid,5)
elseif (item.actionid == 5004) then
doPlayerSendTextMessage(cid,22,"Now you are citizen of Mustafar City.")
doPlayerSetTown(cid,6)
elseif (item.actionid == 5005) then
doPlayerSendTextMessage(cid,22,"Now you are citizen of Siria City.")
doPlayerSetTown(cid,3)
end
end
end
end
end
and heres the problem that appear in the starter:
[07/02/2009 23:50:08] Warning: [Event::loadScript] Can not load script. data/movements/scripts/temple.lua
[07/02/2009 23:50:08] data/movements/scripts/temple.lua:31: '<eof>' expected near 'end'
[07/02/2009 23:50:08] Warning: [Event::loadScript] Can not load script. data/movements/scripts/temple.lua
[07/02/2009 23:50:08] data/movements/scripts/temple.lua:31: '<eof>' expected near 'end'
[07/02/2009 23:50:08] Warning: [Event::loadScript] Can not load script. data/movements/scripts/temple.lua
[07/02/2009 23:50:08] data/movements/scripts/temple.lua:31: '<eof>' expected near 'end'
[07/02/2009 23:50:08] Warning: [Event::loadScript] Can not load script. data/movements/scripts/temple.lua
[07/02/2009 23:50:08] data/movements/scripts/temple.lua:31: '<eof>' expected near 'end'
[07/02/2009 23:50:08] Warning: [Event::loadScript] Can not load script. data/movements/scripts/temple.lua
[07/02/2009 23:50:08] data/movements/scripts/temple.lua:31: '<eof>' expected near 'end'
[07/02/2009 23:50:08] Warning: [Event::loadScript] Can not load script. data/movements/scripts/temple.lua
[07/02/2009 23:50:08] data/movements/scripts/temple.lua:31: '<eof>' expected near 'end'