• 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!

Need Help With Effects On Tiles... :)

Heroid

Active Member
Joined
Mar 7, 2011
Messages
336
Solutions
13
Reaction score
36
K, This is how it is, My effects on tiles work perfect. But the problem is that i want more "Effects" Like when u say /z... I want the /z 0 to 67 (ALL)... But for me its just having 1... Thanks In Advance... :)

local config = {
positions = {
["Welcome!"] = { x = 1105, y = 989, z = 7 },
["Hunting!"] = { x = 998, y = 990, z = 7 },
["Quests!"] = { x = 997, y = 990, z = 7 },
["Trainers!"] = { x = 991, y = 997, z = 7 },
["NTHN ATM!"] = { x = 991, y = 999, z = 7 },
["War!"] = { x = 994, y = 1005, z = 7 },
["POI!"] = { x = 990, y = 983, z = 7 },
["USE!"] = { x = 753, y = 888, z = 7 },
["Equipment!"] = { x = 991, y = 998, z = 7 },
["Events!"] = { x = 991, y = 996, z = 7 },
["Team 1!"] = { x = 1087, y = 1215, z = 7 },
["Team 2!"] = { x = 1094, y = 1215, z = 7 },
["Temple!"] = { x = 1096, y = 1229, z = 7 },
["Spectate!"] = { x = 1084, y = 1220, z = 7 },
["Temple!"] = { x = 1000, y = 997, z = 15 },
["Temple!"] = { x = 1064, y = 993, z = 15 },
["Temple!"] = { x = 924, y = 995, z = 15 },
["Temple!"] = { x = 931, y = 994, z = 15 },
["Temple!"] = { x = 942, y = 993, z = 15 },
["Temple!"] = { x = 947, y = 993, z = 15 },
["Temple!"] = { x = 1058, y = 1004, z = 15 }
},

}

function onThink(cid, interval, lastExecution)
for text, pos in pairs(config.positions) do
for effectxx, pos in pairs(config.positions) do
doSendMagicEffect(pos, effect, math.random(1, 67))
doSendAnimatedText(pos, text, math.random(1, 255))
end

return TRUE
end

ALSO THE ANIMATED TEXT WORKS PERFECT AND ARE IN ALL COLOURS AS I WANT... :)
Just MagicEffect that is the problem, Thanks Alot... :D OFC I WILL REP+++++++++ :D :ninja:
 
LUA:
function onThink(cid, interval, lastExecution)
	for text, pos in pairs(config.positions) do
		doSendMagicEffect(pos, math.random(67))
		doSendAnimatedText(pos, text, math.random(255))
	end
	return TRUE
end

BTW wrong section >.>
 
Thanks, it worked, And i rep++'d. Im kinda new here look at my posts xD so i didnt know where i should post it and ALSO. Can i remove some of the effects and have the others left? I Mean like remove the mirror and the blue arrow thing that comes up sometimes and maybethe big sea dragon x] Also, May i add you at msn? ^^) Beacuse i will need more help in Scripts. Thanks Alot :)
 
Back
Top