• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Color Teams - 0.3.6pl1

Status
Not open for further replies.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<mod name="bugedS" version="1.0" author="OzIcO" contact="in my house" enabled="yes">
	<movevent type="StepIn" actionid="5000" event="buffer"><![CDATA[
		if isPlayer(cid) then
			doCreatureChangeOutfit(cid, {lookType = 128, lookHead = 81, lookBody = 80, lookLegs = 80, lookFeet = 80})
		end
		return doTeleportThing(cid, {x = 100, y = 200, z = 7}) and doSendMagicEffect(getThingPos(cid), 20)
	]]></movevent>
</mod>
sry i fail at making (a moveevent script in lua) its pretty hard (for me)
 
Code:
<?xml version="1.0" encoding="UTF-8"?>
<mod name="bugedS" version="1.0" author="OzIcO" contact="in my house" enabled="yes">
	<movevent type="StepIn" actionid="5000" event="buffer"><![CDATA[
		if isPlayer(cid) then
			doCreatureChangeOutfit(cid, {lookType = 128, lookHead = 81, lookBody = 80, lookLegs = 80, lookFeet = 80})
		end
		return doTeleportThing(cid, {x = 100, y = 200, z = 7}) and doSendMagicEffect(getThingPos(cid), 20)
	]]></movevent>
</mod>
sry i fail at making (a moveevent script in lua) its pretty hard (for me)

Code:
doCreatureChangeOutfit(cid, {lookType = 128, lookHead = 81, lookBody = 80, lookLegs = 80, lookFeet = 80})

Oki, it's green, and how to do it red? :D
 
Code:
{lookType = 128, lookHead = 81, lookBody = 80, lookLegs = 80, lookFeet = 80})

Change the look types.

94 is the color red :D
 
change this
Code:
doCreatureChangeOutfit(cid, {lookType = 128, lookHead = 81, lookBody = 80, lookLegs = 80, lookFeet = 80})
to this
Code:
doCreatureChangeOutfit(cid, {lookType = 128, lookHead = 94, lookBody = 94, lookLegs = 94, lookFeet = 94})
 
change this
Code:
doCreatureChangeOutfit(cid, {lookType = 128, lookHead = 81, lookBody = 80, lookLegs = 80, lookFeet = 80})
to this
Code:
doCreatureChangeOutfit(cid, {lookType = 128, lookHead = 94, lookBody = 94, lookLegs = 94, lookFeet = 94})

I mean outfit, not colors :confused:
I need: script change only colors, not outfit - outfit same as you wear before.
sorry english~
 
Code:
doCreatureChangeOutfit(cid, {lookType = 128, lookHead = 94, lookBody = 94, lookLegs = 94, lookFeet = 94})

lookHead = 94 <-- This means the color of his head will be red
lookBody = 94 <-- This means the color of his shirt will be red
lookLegs = 94 <-- This means his legs will be red
lookFeet = 94 <-- This means his feet will also be red

Just change those and your good to go :)
 
kurwa, not! ;d
Script must change only COLORS and not change outfit! XD

like:
local outfit = getCreatureOutfit(cid)

lookType = outfit.lookType

but it doesn't work :p
 
Code:
doCreatureChangeOutfit(cid, {lookType = getPlayerOutfit(cid).lookType, lookHead = 94, lookBody = 94, lookLegs = 94, lookFeet = 94})
 
Code:
<?xml version="1.0" encoding="UTF-8"?>
<mod name="bugedS" version="1.0" author="OzIcO" contact="in my house" enabled="yes">
	<movevent type="StepIn" actionid="5000" event="script"><![CDATA[
		if isPlayer(cid) then
			doCreatureChangeOutfit(cid, {lookType = getCreatureOutfit(cid).lookType, lookHead = 81, lookBody = 80, lookLegs = 80, lookFeet = 80})
		end
		return doTeleportThing(cid, {x = 100, y = 200, z = 7}) and doSendMagicEffect(getThingPos(cid), 20)
	]]></movevent>
</mod>
 
Status
Not open for further replies.
Back
Top