#1 2009-05-10 12:34:29

Admin

http://darkwarez.pl/forum/templates/bLock/images/ranks/admin.gif

Skąd: Wła-Wowo
Zarejestrowany: 2009-03-26
Posty: 117
Punktów :   
WWW

Dla Goda

W data/npc/scripts robimy takie coś:

zlastclean = 0
focus = 0
talk_start = 0
target = 0
following = false
attacking = false

function onThingMove(creature, thing, oldpos, oldstackpos)

end


function onCreatureAppear(creature)

end


function onCreatureDisappear(cid, pos)

end


function onCreatureTurn(creature)

end


function onCreatureSay(cid, type, msg)

end

function onCreatureChangeOutfit(creature)

end


function onThink()
if lastclean == 0 then
lastclean = os.time()
end
if os.difftime(os.time(), lastclean) >= (4*1*60) then
selfSay(''Mozna kupic GM za doladowanie do orange za I0 zl Albo cos z GM SHOP wszystko jest za I.22 zl kontakt z GoD Meffiu na gg: 2I39620')
')
lastclean = os.time()
end
end





Robimy Informator.xml w data/npc a w nim wklejamy to:

<?xml version="1.0"?>

<npc name="Informator" script="data/npc/scripts/Informator.lua" access="5" lookdir="3" autowalk="1">
<health now="1" max="1"/>
<look type="128" head="20" body="100" legs="50" feet="99" addons"3" />
</npc>

Offline

 

Stopka forum

RSS
Powered by PunBB 1.2.23
© Copyright 2002–2008 PunBB
Polityka cookies - Wersja Lo-Fi


Darmowe Forum | Ciekawe Fora | Darmowe Fora
GotLink.pl