What's new

czy ktos umie zrobic ten skrypt ???

Status
Not open for further replies.

andy1995

Senior User
Joined
Apr 12, 2009
Messages
602
Reaction score
100
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
 

LaVejt

Advanced User
Joined
Jan 26, 2010
Messages
362
Reaction score
7
Odp: czy ktos umie zrobic ten skrypt ???

dzieki ale pomyliles sobie moje tematy ;p tutaj jest ten skrypt podobny do ani ale dzieki
 

LaVejt

Advanced User
Joined
Jan 26, 2010
Messages
362
Reaction score
7
Odp: czy ktos umie zrobic ten skrypt ???

ODSWIERZAMY ;'] niemowcie ze nikomu sie nie przyda ;p
 

LaVejt

Advanced User
Joined
Jan 26, 2010
Messages
362
Reaction score
7
Odp: czy ktos umie zrobic ten skrypt ???

ODSWIERZAMY ;'] niemowcie ze nikomu sie nie przyda ;p
 
Status
Not open for further replies.
Top