• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Creaturescript For war

GreeNDiZeR

New Member
Joined
Aug 1, 2009
Messages
250
Reaction score
1
Hello,
PHP:
[09/09/2009 05:20:59] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/items2.lua)
[09/09/2009 05:20:59] data/creaturescripts/scripts/items2.lua:5: 'end' expected (to close 'function' at line 1) near '<eof>'

this script should give aol if the player doesnt have one.
Lua:
function onLogin(cid)
          if getPlayerItemCount(cid, 2173) == FALSE then
		 doPlayerAddItem(cid, 2173, 1)
		                      end
And if somone gave me a script that none drop his loot even if he had no aol i will be very thankful

Using TFS 0.3.5P1
and if somone could make a script that ppl get exp for every kill ..eg.
LV 60 killing lv 45 and he should get 1 level or any exp
here lv 55+ kills lv 45 but he cant get exp :S!
 
You forgot an end
Lua:
function onLogin(cid)
          if getPlayerItemCount(cid, 2173) == FALSE then
                 doPlayerAddItem(cid, 2173, 1)
          end
end
 
PHP:
function onLogin(cid)
          if getPlayerItemCount(cid, 2173) == FALSE then
                 doPlayerAddItem(cid, 2173, 1)
          end
   return TRUE
end
 
Back
Top