Haaan
New Member
- Joined
- Oct 24, 2009
- Messages
- 56
- Reaction score
- 0
8.54
hello icreate this script and this not work:
So i want to you help me, i need
function onSay
doSendMagicEffect(playerpos.x+1, playerpos.y, playerpos.z, efekt)(i dont know what "command because playerpos dont work)
id of effect is 136 i want to send this on player(x+1) 1200 times by 250(4 times per sec)
hello icreate this script and this not work:
local max = 1200
local efekt = 136
function onSay(cid, words, param)
local count = 0
param = {cid = cid, count = 0}
addEvent(AddEffect, 250, param)
end
function AddEffect(param)
doSendMagicEffect(getPlayerPosition(cid), efekt)
param.count = param.count + 1
if param.count <= max then
addEvent(AddEffect, 250, param)
end
end
So i want to you help me, i need
function onSay
doSendMagicEffect(playerpos.x+1, playerpos.y, playerpos.z, efekt)(i dont know what "command because playerpos dont work)
id of effect is 136 i want to send this on player(x+1) 1200 times by 250(4 times per sec)
Last edited: