DI
poketibia

Como adiciono no server a scripte Catch Chanels

Por Dilooow, 02 de mai. de 2020 em Scripts

3
1.2k
DilooowD
02 de maio de 2020 às 02:06

Como adiciono ela no serve  alguém ensina não mánjo de programação 

 

 

local pokesCheck = {"Alakazam", "Blastoise"}
	if isInArray(pokesCheck, poke) or pokes[poke].wildLvl >= 80 or poke:find("Shiny") then
		local text_color = poke:find("Shiny") and TALKTYPE_CHANNEL_O or TALKTYPE_CHANNEL_W
		for _, oid in ipairs(getPlayersOnline()) do
			doPlayerSendChannelMessage(oid, cid, "[Catch Channel] O jogador [".. getCreatureName(cid) .."] capturou um ["..poke.."]!.", text_color, 5)
		end
	end
03 de maio de 2020 às 14:19
Em 02/05/2020 em 02:06, Dilooow disse:

Como adiciono ela no serve  alguém ensina não mánjo de programação 

 

 

local pokesCheck = {"Alakazam", "Blastoise"}
	if isInArray(pokesCheck, poke) or pokes[poke].wildLvl >= 80 or poke:find("Shiny") then
		local text_color = poke:find("Shiny") and TALKTYPE_CHANNEL_O or TALKTYPE_CHANNEL_W
		for _, oid in ipairs(getPlayersOnline()) do
			doPlayerSendChannelMessage(oid, cid, "[Catch Channel] O jogador [".. getCreatureName(cid) .."] capturou um ["..poke.."]!.", text_color, 5)
		end
	end

Vai em data/lib/CATCHSYSTEM.LUA

function doCapturePokemon(cid, poke, ballid, status, typeee)

 

DilooowD
03 de maio de 2020 às 15:04
44 minutos atrás, brazvct disse:

Vai em data/lib/CATCHSYSTEM.LUA

function doCapturePokemon(cid, poke, ballid, status, typeee)

 

E dps?