Jump to content

Wei

Members
  • Posts

    814
  • Joined

  • Last visited

Everything posted by Wei

  1. Wei

    Gui help

    Just 1 help more. I didn't open new post. function Staffbaseport ( thePlayer ) setElementPosition((thePlayer), 110.53934, 1104.70752, 13.60938) end addEventHandler ( "onClientGUIClick", button2, Staffbaseport (thePlayer) ) whats the problem here ?
  2. Wei

    Gui help

    Thanks all. It's my first time making a GUI. So thanks again!
  3. Wei

    Gui help

    how can i make my gui open when i type in /admin command. Here is my code (unfinished) window1 = guiCreateWindow(268,214,530,216,"Blazy's Admin Panel! Use /admin to close!",false) button1 = guiCreateButton(10,27,164,82,"Flying cars ON",false,window1) guiSetFont(button1,"sa-header") button2 = guiCreateButton(356,118,159,86,"Admin Base",false,window1) guiSetFont(button2,"sa-header") button3 = guiCreateButton(184,118,164,82,"Hoover cars off",false,window1) guiSetFont(button3,"sa-header") button4 = guiCreateButton(12,117,164,82,"Flying cars off",false,window1) guiSetFont(button4,"sa-header") button5 = guiCreateButton(354,26,164,82,"Admin Godmode",false,window1) guiSetFont(button5,"sa-header") button6 = guiCreateButton(182,26,164,82,"Hoover Cars On",false,window1) guiSetFont(button6,"sa-header") function flyingcars(thePlayer) setWorldSpecialPropertyEnabled("aircars", true) end addEventHandler("onClientGUIClick", button1, flyingcars) function flyingcar(thePlayer) setWorldSpecialPropertyEnabled("aircars", false) end addEventHandler("onClientGUIClick", button2, flyingcar)
  4. Agree, if he/she releases this, then it'll become like MTA paradise, Valhalla Gaming scripts, everyone using them and no unique servers. It's easy for you to say when you are a pro scripter...
  5. Wei

    Gates doesn't open

    I've downloaded the coleeditor from the community. https://community.multitheftauto.com/index.php?p= ... ls&id=3804 It's much easyer way. Thanks anyway!
  6. Wei

    Joooo

    Mozes mi dat ip ?
  7. Wei

    Gates doesn't open

    Is there anyway to calculate col ?
  8. Wei

    Gates doesn't open

    What can i do now ?
  9. Wei

    Gates doesn't open

    how can i know the colshape position ? isn't that circle around the position that i chosed ?
  10. When i come to the gate they doesn't open! gate1 = createObject ( 987, 175.19999694824, 1094.9000244141, 16, 0, 0, 90 ) col = createColCircle ( 987, 175.19999694824, 1094.9000244141, 10 ) peder = createBlip ( 987, 175.19999694824, 1094.9000244141, 43 ) function opengates(thePlayer) if getElementModel( thePlayer ) == 217 then moveObject (gate1, 5000, 180.19999694824, 1094.9000244141, 16 ) end end addEventHandler( "onColShapeHit", col, opengates ) function closegates(thePlayer) if getElementModel( thePlayer ) == 217 then moveObject (gate1, 5000, 175.19999694824, 1094.9000244141, 16 ) end end addEventHandler( "onColShapeLeave", col, closegates )
  11. How to make that when player will download there will show camera or text?
  12. Wei

    Joooo

    Seos. Ja sam novi slovenac. Pisem u hrvatskog jer vidim da ni ovde nista slovenaca. Imam nešto skilla sa scripting. I gledam sa nekoga s kojim mozem naredit servar.
  13. thank you. I find it. I think i'm to lazy to search...
  14. how can i make that will show me on scoreboard the time of player played on my server ?
  15. Wei

    policejob help

    Thank you very much !
  16. Wei

    alc Group Show

    working now ! thanks.
  17. Wei

    policejob help

    i want to it will work only if player has wanted level
  18. Wei

    policejob help

    function policeJob ( attacker, attackerweapon, bodypart, loss ) theSkin = getElementModel ( attacker ) if (attackerweapon == 3) and (loss > 2 ) and (theSkin == 281 ) then setElementPosition (source, 219, 110, 999, true) setTimer ( setElementPosition, 100000, 1, source, 236.32, 110.4, 1003.2) takePlayerMoney (source, 50) givePlayerMoney (attacker, 100) end end addEventHandler ("onPlayerDamage", getRootElement(), policeJob) how to add here if player wanted level is 1,2,3,4,5,6?
  19. Wei

    alc Group Show

    <meta> <info author="blazy" description="sb group" version="1.0.0" type="script" /> <script src="asd.lua" type="server"/> </meta>
  20. Wei

    alc Group Show

    still not working
  21. Wei

    alc Group Show

    Now it doesn't show anything ...
×
×
  • Create New...