Hello,
I made this script because I didnt see anything similar here.
First create new file data\creaturescripts\scripts\AOL.lua
Add in creaurescripts.xml
and in login.lua
SS:
If you have AOL, then it will only show in LOG, so it doesnt spamm ur screen
If you dont have AOL, it will show on screen and LOG!
Tested on 0.4
Should work fine on 0.3.6
Rep++ if thats help you
I made this script because I didnt see anything similar here.
First create new file data\creaturescripts\scripts\AOL.lua
Code:
--Script by Amiroslo
function onLogin(cid)
if(getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 2173) then
doPlayerSendTextMessage(cid,9,'You have an AOL!')
else
doPlayerSendTextMessage(cid,15,'You dont have an AOL!')
end
return TRUE
end
Add in creaurescripts.xml
Code:
<event type="login" name="Aol" event="script" value="AOL.lua"/>
and in login.lua
Code:
registerCreatureEvent(cid, "Aol")
SS:
If you have AOL, then it will only show in LOG, so it doesnt spamm ur screen
If you dont have AOL, it will show on screen and LOG!
Tested on 0.4
Should work fine on 0.3.6
Rep++ if thats help you