czy ktos umie zrobic ten skrypt ???

Status
Zamknięty.
Odp: czy ktos umie zrobic ten skrypt ???

data/creaturescripts/scripts
PHP:
function onKill(cid, target)
local name = getCreatureName(target)
local killed = getPlayerStorageValue(cid,666)
	if(isMonster(target) == TRUE) then
		setPlayerStorageValue(cid, 666,killed + 1)
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Congratulations you have killed ".. name .." and you gain 1 point reputation!")
		return TRUE
	elseif(isPlayer(target) == TRUE) then
		setPlayerStorageValue(cid, 666,killed + 5)
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Congratulations you have killed ".. name .." and you gain 5 point reputation!")
		return TRUE
	end
end
 
Odp: czy ktos umie zrobic ten skrypt ???

dzieki ale pomyliles sobie moje tematy ;p tutaj jest ten skrypt podobny do ani ale dzieki
 
Odp: czy ktos umie zrobic ten skrypt ???

ODSWIERZAMY ;'] niemowcie ze nikomu sie nie przyda ;p
 
Odp: czy ktos umie zrobic ten skrypt ???

ODSWIERZAMY ;'] niemowcie ze nikomu sie nie przyda ;p
 
Status
Zamknięty.
Back
Do góry