Jump to content

norby89

Retired Staff
  • Posts

    925
  • Joined

  • Last visited

Posts posted by norby89

  1. I hope they fix this, becouse it looks very unproffessional. They could warn about those virus threads in forum that is safe or not. But i repeat, I never ever saw that proffessional software have virus threads...

    Or you could upgrade to a proper antivirus software.

  2. function GetPosition ( player ) 
        local x, y, z =  getElementPosition( player ) 
     outputChatBox("Your Position: "..x..", "..y..", "..z) 
    end 
    addCommandHandler ( "Postion", GetPosition ) 
      
    

    You added an extra ". You should work in a text editor that supports syntax highlighting, which makes errors like this easier to spot.

  3. Just in case anyone needs the opposite of this function:

    function rgbToHex ( nR, nG, nB ) 
        local sColor = "#" 
        nR = string.format ( "%X", nR ) 
        sColor = sColor .. ( ( string.len ( nR ) == 1 ) and ( "0" .. nR ) or nR ) 
        nG = string.format ( "%X", nG ) 
        sColor = sColor .. ( ( string.len ( nG ) == 1 ) and ( "0" .. nG ) or nG ) 
        nB = string.format ( "%X", nB ) 
        sColor = sColor .. ( ( string.len ( nB ) == 1 ) and ( "0" .. nB ) or nB ) 
        return sColor 
    end 
    

  4. it says type the text shown below but there is no text

    so i created a new one plz dont lock this one too

    You should have said that in the first place, hopefully it will be fixed soon. I still don't see the point in having 3 topics about the same problem so please stay in your original thread.

    viewtopic.php?f=91&t=30830&p=332170

    Locked.

×
×
  • Create New...