Jump to content

Xeno

Members
  • Posts

    728
  • Joined

  • Last visited

Everything posted by Xeno

  1. Xeno

    Help again.

    And if you post your script, I can fix it for you.
  2. Xeno

    Help again.

    Because its the collumn you need to change the name of: local column = guiGridListAddColumn( playerList, "NAMEHERE", 0.85 ) And if you want people to script it for you, I would suggest finding a scripter and paying him.
  3. Xeno

    Help again.

    I did not do it for you. I'm just telling you how to make Button events. Anyway skin ids here: https://wiki.multitheftauto.com/wiki/Character_Skins
  4. Xeno

    Help again.

    And? I use peoples scripts on here all the time, if you dont want people to use your scripts then DON'T post them. Kieron, an onClientGUIClick is like a trigger for what happens when the button is pressed, so if I did this: function thisIsYourGUIFunction() --create gui here-- addEventHandler("onClientGUIClick", buttonname, trigger) -- Get the button name and the function name. end function trigger() outputChatBox("hello") end That outposts into the chat box "Hello" when the button is pressed
  5. Xeno

    Help again.

    Well its simple, all you need to do is use an onClientGUIClick on the register part that navigates to the skin selection
  6. Ganja, this is not place for accusing people of stealing. IF you looked PROPERLY, Will posted that on the tutorial section for ANYONE to use, now if your not going to say anything useful, don't reply.] Idiots.
  7. The hex must be in capitals, so: #FFFFFF Use the MTA Wiki for functions: https://wiki.multitheftauto.com/wiki/OutputChatBox And dude before me, he's learning LUA, not downloading resources off the community.
  8. Xeno

    2 question

    https://wiki.multitheftauto.com/wiki/OnColShapeHit https://wiki.multitheftauto.com/wiki/RemovePedJetPack
  9. Check this: /viewtopic.php?f=91&t=38749 -- It should help you
  10. Xeno

    Table question

    I know this is not my topic, but, how would you just make it so it creates all the markers in the table..?
  11. Yeah, how much are you willing to pay?
  12. I'm not sure if it will work, but try make it so it sets the radio sound to 0?
  13. Rublisk19 he's trying to help you, theres no need to be rude
  14. Thank you both, works perfectly <3
  15. function start(player) crate = createObject(2991,-1353,-185,14) local team = getPlayerTeam(player) local object = createObject(2991, -1353, -185, 14) if team then local police = getTeamFromName("Police") local criminals = getTeamFromName("Criminals") if (team == police) then outputChatBox("You're a police officer.", source, 0, 255, 0, false) elseif (team == criminal) then outputChatBox("You're a criminal.", source, 0, 255, 0, false) end end end function onStart(player) -- Here. setTimer(start, 7500, 1, player) end addEventHandler("onResourceStart", getRootElement(), onStart)
  16. Sorry for the double post, but no one would read it if I didn't: local team = getPlayerTeam(player) bad "player" pointer at getPlayerTeam
  17. Nevermind its fixed, I forgot to remove something. Thank you all that helped me! < I forgot to delete: addEventHandler("onClientResourceStart", getRootElement(), setTimer)
  18. That works SolidSnake, but I get 1 more error saying "Expected function at argument 1, got resource-data" setTimer(start, 1000, 1, player)
  19. I mean so it starts the timer off: function setTimer(player) setTimer(start, 1000, 1, player) end addEventHandler("onClientResourceStart", getRootElement(), setTimer) But I get an error saying Stacked Overflow -- Whatever that means? And SDK, No I have not, all I need is a timer that sets off the function once, sorry I wasn't very clear lol.
  20. EDIT: SOrry I did not see the previous posts myonlake, I wanted it so it starts a timer automatically when the resource starts.
  21. Shall I just give you some of my script? function start() crate = createObject(2991,-1353,-185,14) local team = getPlayerTeam(player) if team then local police = getTeamFromName("Police") if (team == police) then end elseif team then local police = getTeamFromName("Criminals") end end -setTimer(start, 1000,1, player)
×
×
  • Create New...