Jump to content

WhoAmI

Members
  • Posts

    1,248
  • Joined

  • Last visited

Everything posted by WhoAmI

  1. I think it's impossible. You can create your own edit box using dx functions and event onClientKey.
  2. In this case element data would be better.
  3. There, where you want to clear gridlist, I mean unselect row.
  4. What is exactly auto-b?
  5. You can clear gridlist and load it again. Or guiGridListSetSelectedItem ( vehicleList, 0, 0 )
  6. Well, you are getting vehicle's name not model. Try using getVehicleModelFromName.
  7. WhoAmI

    loop

    The function 'getElementsByType' returns a table of current elements. You can chcek how many elements are in table by adding hash (#) before table. For example. local players = getElementsByType("player") outputChatBox(#players) The chatbox will output how many players are in the server.
  8. WhoAmI

    Chatbox

    I would do chat with myonlake's solution.
  9. WhoAmI

    Chatbox

    Lol man, If I toggle "chatbox" off, I can't use chatbox handler.
  10. WhoAmI

    Chatbox

    Yea but how I would do another chat? bindKey ( player, "T", "down", -- [[and here what?]] )
  11. WhoAmI

    Chatbox

    Am I doing it right way?
  12. WhoAmI

    Chatbox

    I mean changing message, from "Say" to "IC" or something.
  13. WhoAmI

    Chatbox

    Hi guys. for _,player in ipairs ( getElementsByType ( "player" ) ) do unbindKey ( player, "T", "down", "chatbox", "say" ) bindKey ( player, "T", "down", "chatbox", "IC" ) end Is it possible to do such a thing? Couse i found topic in thsi forum, and someone said that it is not, but I saw this in some RP server. How can I do, that in "T" key I would have another chat than "Say"?
  14. return false, outputChatBox("No player has been found with the ID " .. id ) and there is another error elseif getPlayerMoney (player, > 20) then so change to elseif getPlayerMoney (player) > 20 then
  15. You have to use DX functions, or just find similar object and create invisible marker on it.
  16. WhoAmI

    getTickCount

    Hello guys. I just want know how getTickCount works. I mean that I haven't never understood how it works, and what I should use it for? Any example? Thanks for help, cheers.
  17. WhoAmI

    spawn.

    Give him one parachute.
  18. function ShowAutos() local row = guiGridListGetSelectedItem(vehicleList) local carget = guiGridListGetItemText(vehicleList, row, 1) local carshow = createVehicle(carget,544.74103, -1298.83533, 32.54056) addEventHandler ( "onClientPreRender", root, function ( ) renderCameraRotation ( carshow, 544.74103, -1298.83533, 32.54056 ) end ) end
  19. I'd help you tomorrow morning.
  20. Right, but this camera function need update, so insert this function call into another and in showAutos function put line which would render this camera function.
  21. Well, the function didn't got target as element. Check if vehicle was created. And try to put 3 more arguments when calling this function, not only the target.
  22. Any errors? And can I see your gridlist with added rows?
  23. Check gridlist functions on wiki. guiGridListGetSelectedItem
×
×
  • Create New...