the arguments in a function with setTimer arguments comes after arguments of setTimer,it's u've to write only function and arguments in end
it's the same
Why are u using element data while u can do this cuz blip is global defined
function baseblip(player)
if (not blip) then
blip = createBlip ( 1972.5458984375, -1113.5166015625, 25.628751754761, 59,2,0,0,0, 255,0, 99999)
else
destroyElement(blip)
end
addCommandHandler("baseblips",baseblip)
that's simple
Maybe, a resource is already running such as : freeroam or something
or maybe check ur script if has something like setElementModel Func or spawnPlayer func has got an fail argument
Hi guys,
I was trying an editfield with dx
i had problem
how to replace for ex : "3B00DG4MER" with "***********" or "hi" with "**"
i tried using string.gsub
string.gsub(self.edit.text, "(%a)", function(w) return "*" end)