Licznik reborn?w

Status
Zamknięty.

lexu

Advanced User
Zarejestrowany
Dołączył
Kwiecień 12, 2010
Posty
151
Liczba reakcji
1
Szukam LICZNIKA DO REBORN SYSTEMU SZYBKO!

---------- Tre?? dodana o 19:54 ----------

POMOCY!!!!!!!!!!!!!
 
Odp: Licznik reborn?w

Licznik w sensie ?e co? Napisz dok?adnie o co chodzi.
 
Odp: Licznik reborn?w

looReborn.lua

Kod:
function onLook(cid, thing, position, lookDistance)
		if(isPlayer(thing.uid)) then
		local r = getPlayerReborn(getCreatureName(thing.uid))
		if r <= 0 then
				doPlayerSendTextMessage(cid, 20, ""..getCreatureName(thing.uid).." nie ma zadnego rebornu.")
			else
				doPlayerSendTextMessage(cid, 20, ""..getCreatureName(thing.uid).." ma "..r.." reborn/?w.")
			end
		end
		return true
	end
Kod:
 <event type="look" name="onLookReborn" event="script" value="reborn/lookReborn.lua"/>

i do login.lua dodaj to powinno hula?
Kod:
  registerCreatureEvent(cid, "onLookReborn")
 
Ostatnia edycja:
Odp: Licznik reborn?w

No wstawi?em inny i dzia?a, ale wielkie dzi?ki :) Do zamkni?cia.
 
Status
Zamknięty.
Back
Do góry