Jump to content

KBilly

Members
  • Posts

    14
  • Joined

  • Last visited

KBilly's Achievements

Square

Square (6/54)

0

Reputation

  1. KBilly

    Passworded ?

    You aren't wrong no, the man says he wants to make it "GUIEditor.memo[2]" you simply made it "myEditBox" nothing is wrong just think he's trying to help.
  2. Still want me to pm you it or ?
  3. It's based on tinted windows script, I'd rather pm you the other half of the code if that's alright ? It's kinda simple what I mean basically all you kinda have to know is that I simply need something to fetch to see if it has 1 out of 2 elements supplied so basically the script works like if it has the vehicle element "tinted" but I want to add another half based on the vehicle element "tinted2" Therefore what I mean is this line of code if vehicle and not windowsDown and vehicle ~= getPedOccupiedVehicle(localPlayer) and getElementData(vehicle, "tinted") or getElementData(vehicle, "tinted2") then It fetched to see if it has both elements ? Correct ? I want it to see if it has one of them elements if that makes sense...
  4. Okay so I have this piece of code. if vehicle and not windowsDown and vehicle ~= getPedOccupiedVehicle(localPlayer) and getElementData(vehicle, "tinted") or getElementData(vehicle, "tinted2") then Basically the problem is within this part. and getElementData(vehicle, "tinted") or getElementData(vehicle, "tinted2") then My original line of code was this. if vehicle and not windowsDown and vehicle ~= getPedOccupiedVehicle(localPlayer) and getElementData(vehicle, "tinted") then This worked fine but I added another tint element and now I want it to getElementData for either tinted or tinted2 if that makes sense. So basically I want it to have one or the other but it like I don't want to have it looking like this. getElementData(vehicle, "tinted") and getElementData(vehicle, "tinted2") Simply because this will make sure it has both elements I only want it to have one or the other, thanks for all help in advance I appreciate it.
  5. KBilly

    getElementData

    I used setTimer on the function which gets the element data
  6. KBilly

    getElementData

    Which part, I mean the part I already pasted is all I got regarding the Data the other part is simply drawing it onto the scoreboard it's self
  7. KBilly

    getElementData

    I already tried it, it doesn't even update when I restart the scoreboard script, it only updates when the player reconnects on the scoreboard anyways
  8. KBilly

    getElementData

    Yeah but it like needs to update every so often if that makes sense I have it on my scoreboard already it just doesn't update every hour like or eveytime I open the scoreboard...
  9. KBilly

    getElementData

    Yeah well it's kinda a table like it's a scoreboard table practically sorry.
  10. Hello, today I'm encountering a problem based around getElemetData and I am not sure on what to do. So basically I have a table which when you view it shows the players hours, but I also have a script which updates the hours every hour and adds one hour. So my question is how can I get this script to update to like getElementData every hour or so, when I load it after the script adds the hour it's updated but it doesn't update in the table it's self. getElementData( player, 'hoursplayed' )
×
×
  • Create New...