Jump to content

-Doc-

Members
  • Posts

    300
  • Joined

  • Last visited

Everything posted by -Doc-

  1. -Doc-

    Problem

    With that command i can use only single function like /cd I wanna make to use more functions like EXAMPLE /start hud or /mute blue...Help?
  2. -Doc-

    Problem

    thats an example man!
  3. -Doc-

    Problem

    How it's possible to make more than one command at this script.I can use only with single commands /cd or /rules. But i wanna for example /mute blue and its not working. Here is the code. if string.sub(first,1,1) == "/" then local command = string.sub(first,2,string.len(first)) executeCommandHandler( command, thePlayer )
  4. Nah, i started my own. Cya
  5. You can't make a green zone ush.
  6. Don't act like some good righteous guy, you're doing the same thing he is doing Impersonating FO? Lets be serious.I wont Team FO in my server.Lock
  7. And stop impersonating clan [FO]
  8. Go refrain yourself first. And stop telling me in facebook that you can script + Like this? http://imgur.com/Ni0kdJO
  9. Yes working but nametag color uhh...It doesnt show player nametag color when i send it its showing mine.
  10. I tried and ingame and still same eroor
  11. Omg. Im asking for help not for not for...
  12. http://imgur.com/rv8r6QO
  13. Its a server side+ its not working
  14. Hi. I edited this code and its showing bad argument @ getPlayerNametagColor function privateMessage(thePlayer,commandName,sendToName,...) local pmWords = { ... } local pmMessage = table.concat( pmWords, " " ) local red, green, blue = getPlayerNametagColor ( thePlayer ) local hex = RGBToHex ( red, green, blue ) if sendToName then if (getPlayerFromParticalName (sendToName)) then toPlayer = (getPlayerFromParticalName (sendToName)) if not (toPlayer == thePlayer) then if not (pmMessage == "") then outputChatBox("#FFFFFF[PM] Message to "..hex.."" .. getPlayerName(toPlayer) .. "#FFFFFF: " .. pmMessage, thePlayer, 255, 255, 255, true) outputChatBox("#FFFFFF[PM] Message from "..hex.."" .. getPlayerName(thePlayer) .. "#FFFFFF: " .. pmMessage, toPlayer, 255, 255, 255, true) else outputChatBox("#FFFFFF[PM]Use:#ff9900 /pm [part of name] [message]", thePlayer, 255, 255, 255, true) return false end else outputChatBox("#FFFFFF[PM]#00ccff You cannot PM yourself #ff9900!", thePlayer, 255, 255, 255, true) return false end else outputChatBox("#FFFFFF[PM]#00ccff Player not found! #FFFF00[#ff9900"..sendToName.."#FFFF00]", thePlayer, 255, 255, 255, true) return false end else outputChatBox("#FFFFFF[PM]Use:#ff9900 /pm [part of name] [message]", thePlayer, 255, 255, 255, true) return false end end addCommandHandler("pm", privateMessage) function RGBToHex(red, green, blue) if((red < 0 or red > 255 or green < 0 or green > 255 or blue < 0 or blue > 255)) then return nil end return string.format("#%.2X%.2X%.2X", red, green, blue) end function getPlayerFromParticalName(thePlayerName) local thePlayer = getPlayerFromName(thePlayerName) if thePlayer then return thePlayer end for _,thePlayer in ipairs(getElementsByType("player")) do if string.find(string.gsub(getPlayerName(thePlayer):lower(),"#%x%x%x%x%x%x", ""), thePlayerName:lower(), 1, true) then return thePlayer end end return false end
  15. Help i wanna make same at blip but not working.
  16. -Doc-

    Crosshair bug

    Whats stupid there i said no errorrs, or...
  17. -Doc-

    Crosshair bug

    No errors nothing
  18. I need help to fix that code anyone?
  19. -Doc-

    Crosshair bug

    Nothing. And please go away from my topics.
  20. On name i made. At blip i tried and not working.
  21. -Doc-

    Crosshair bug

    Not working. Anyone?
×
×
  • Create New...