What's new

Przer?bka Skryptu (proste)

Status
Not open for further replies.

andy1995

Senior User
Joined
Apr 12, 2009
Messages
602
Reaction score
100
Odp: Przer?bka Skryptu (proste)

PHP:
function onStepIn(cid, item, fromPosition, item2, toPosition)
local config = {
id1 = 9997,
id2 = 9998,
id3 = 9999
}
	if getPlayerItemCount(cid, config.id1) < 1 and getPlayerItemCount(cid, config.id2) < 1 and getPlayerItemCount(cid, config.id3) < 1 then
		doTeleportThing(cid, fromPosition)
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You don't have needed items.")
	end
return true
end
 

Poziomeek

User
Joined
Aug 27, 2010
Messages
22
Reaction score
0
Odp: Przer?bka Skryptu (proste)

Niestety nie chce dzia?a?. Wie kto? mo?e czemu? Mam TFSa.
 
Status
Not open for further replies.
Top