Jump to content

MrDante

Members
  • Posts

    176
  • Joined

  • Last visited

Everything posted by MrDante

  1. Well in the line 21 I have this: function show_wanted_players(plr) local c = 0 local cx,cy,cz = getElementPosition(plr) for k,v in pairs(getElementsByType("player")) do local x,y = getWl(v) local px,py,pz = getElementPosition(v) if x > 0 then local dist = getDistanceBetweenPoints3D(px,py,pz, cx,cy,cz) if getElementData(v, "Jailed") == "Yes" then outputChatBox(getPlayerName(v)..": Está com o nivel de procurado: "..round(x, 2).."e o tempo de Violência: ".. round(y, 2)..", Location: "..getZoneName(px,py,pz).." ("..getZoneName(px,py,pz,true)..") "..math.floor(dist).."m", plr, 0, 200, 0) elseif (tonumber(getElementData(v, "violent_seconds")) or 0) > 0 then outputChatBox(getPlayerName(v)..": Está com o nivel de procurado: "..round(x, 2).."e o tempo de Violência: "..round(y, 2)..", Location: " ..getZoneName(px,py,pz).." ("..getZoneName(px,py,pz,true)..") "..math.floor(dist).."m", plr, 200, 0, 0) else outputChatBox(getPlayerName(v)..": Está com o nivel de procurado: "..round(x, 2).."e o tempo de Violência: ".. round(y, 2)..", Visto Cometendo Crime Em: "..getZoneName(px,py,pz).." ("..getZoneName(px,py,pz,true)..") "..math.floor(dist).."m", plr, 255, 100, 0) if showWho ~= true then outputChatBox("#1E90FFVocê está revistando o Jogador #FF0000[ #FFFFFF"..getPlayerName(thePlayer).. outputChatBox(getPlayerName(source).."#1E90FFEstá revistando o jogador #FF0000[ #FFFFFF"..getPlayerName(thePlayer).. end end c = c + 1 end end if c == 0 then outputChatBox("Jogador Limpo!", plr, 255, 100, 0) end end addCommandHandler("revistar", show_wanted_players, setRootElement(), getPlayerFromPartialName) I am a beginner and is giving the error:Unexpected Symbol Near If someone can help me thank you very much
×
×
  • Create New...