Jump to content

mjau

Members
  • Posts

    589
  • Joined

  • Last visited

Everything posted by mjau

  1. mjau

    How to do this

    Ok another question how to restrcit this to an ACL group ? here is what i have tried to do but dont work function airForceMove(x,y,z,rotation,skin) if x and y and z and rotation and skin then accountname = getAccountName (getPlayerAccount(v)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "admin" ) ) then spawnPlayer(source,x,y,z,rotation,skin) setCameraTarget(source,source) end end end addEvent("airForceMove",true) addEventHandler("airForceMove",root,airForceMove) end
  2. mjau

    How to do this

    t i will im srry if im a bit annoying but iwas up all night scripting yesterday so i think the most simple thing could pissed me off Edit: the 4 buttons was me not understandign the copy function in guieditor since i didnt read the chat
  3. mjau

    How to do this

    tnx so much now i just have to do that with 3 other buttons too
  4. mjau

    How to do this

    the second window never opens
  5. mjau

    How to do this

    dont think you gat me right i mean i have one window opened with a command and one of the buttons on that window i want to open andother window and close the first one
  6. it was thtat i needed it but anway ive cancelled waht i need it to so...
  7. mjau

    How to do this

    Hi i have created a spawnmenu script with gui but now i want one of the buttons i press to open a new gui i have made waht should i use to do this cuz setGuiVisible dont work and shows no erros GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} function createthegui() GUIEditor_Window[1] = guiCreateWindow(307,67,288,305,"FARPG:Spawnmenu",false) GUIEditor_Button[1] = guiCreateButton(9,23,102,46,"Army Rangers...",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(9,79,104,41,"Police...",false,GUIEditor_Window[1]) GUIEditor_Button[3] = guiCreateButton(9,23,102,46,"Army Rangers...",false,GUIEditor_Window[1]) GUIEditor_Button[4] = guiCreateButton(9,23,102,46,"Army Rangers...",false,GUIEditor_Window[1]) GUIEditor_Button[5] = guiCreateButton(9,130,104,43,"Criminal...",false,GUIEditor_Window[1]) GUIEditor_Button[6] = guiCreateButton(9,185,104,44,"Civiillian...",false,GUIEditor_Window[1]) GUIEditor_Button[7] = guiCreateButton(9,237,104,43,"Admin...",false,GUIEditor_Window[1]) GUIEditor_Memo[1] = guiCreateMemo(142,29,132,44,"Army Rangers \nOnly",false,GUIEditor_Window[1]) GUIEditor_Memo[2] = guiCreateMemo(142,79,133,40,"Police Team",false,GUIEditor_Window[1]) GUIEditor_Memo[3] = guiCreateMemo(142,129,131,42,"For the badasses",false,GUIEditor_Window[1]) GUIEditor_Memo[4] = guiCreateMemo(143,179,129,41,"Peaceful way to\nEarn money",false,GUIEditor_Window[1]) GUIEditor_Memo[5] = guiCreateMemo(144,239,131,42,"Admin ONLY",false,GUIEditor_Window[1]) addEventHandler("onClientGUIClick", GUIEditor_Button[1], armyWidnowCreate, false) addEventHandler("onClientGUIClick", GUIEditor_Button[6], armyspawn, false) end GUIEditor_Window = {} GUIEditor_Button = {} function armyWindowCreate() GUIEditor_Window[2] = guiCreateWindow(409,90,101,298,"Army Rangers",false) GUIEditor_Button[1] = guiCreateButton(9,26,83,46,"Airforce",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(9,79,83,49,"Assault unit",false,GUIEditor_Window[1]) GUIEditor_Button[3] = guiCreateButton(9,134,83,49,"Special forces",false,GUIEditor_Window[1]) GUIEditor_Button[4] = guiCreateButton(9,188,83,45,"Recruit",false,GUIEditor_Window[1]) GUIEditor_Button[5] = guiCreateButton(9,244,83,43,"Back",false,GUIEditor_Window[1]) end
  8. i have 1 day to finsih this on now please help
  9. and btw the marker is a small arrow on top of the plane it just wnt on top of the plane after i attached it when i created it it was behind the plane
  10. will it follow the marker all the time then cuz i need it attahced to the andro
  11. how to do it with colshape waht i want is i enter the andro at the back of it and get in the andro interior and when i go out again i will be placed at the back of the andro anyway where it is even if it is midair cuz thats what i need i need it for paragliding tests
  12. can u make the colshape part please just make it at the coords where i created the marker
  13. HELP omg im getting nerves i cant finish this before its to late
  14. vehicle mod https://community.multitheftauto.com/ind ... ls&id=1657
  15. mjau

    webhost

    Hi i came up with an idea but dont know how. is it possible to use an webhost like 000webhost.com to run your minecraft server? if it is how ? then i get free hosting ))
  16. mjau

    Team skin

    Ehm that is deprecated use setElementModel instead
  17. srry for being impatient but it is a bit important
  18. no errors but nothing happens when i enetr the marker
  19. Still i get bad argument at addeventhandler
  20. really need help wiht this
  21. and the reason i attached it is cuz i want them to be able to stand in my andromada
  22. function androint ( andro, commandName ) local arrowMarker = createMarker ( -1357.26953125, -76.0087890625, 14.146192550659, "arrow", .75, 255, 0, 0, 170 ) local andro = createVehicle ( 592, -1357.4599609375, -55.9248046875, 14.1484375 + 5 ) --Create a Andro attachElements ( arrowMarker, andro, 0, 0, 5 ) --Attach the marker to the adnro end addCommandHandler ( "hat", androint ) function warptheplayer ( player ) setElementInterior ( player, 9, 315.48, 984.13, 1959.11 ) end addEventHandler( "onMarkerHit", arrowMarker, warptheplayer )] this is the whole script i didnt understand waht you ment
  23. hi i tried to script a marker to warp me into my andromada i attached the marker to it but it says bad argument at addEventHandler heres my code where the wrong part is function warptheplayer ( player ) setElementInterior ( player, 9, 315.48, 984.13, 1959.11 ) end addEventHandler ( "onMarkerHit", arrowMarker, warptheplayer )
  24. mjau

    group system

    ok another idea is it pissible to create a table with accountnames NOT nick and restrict the spawns then ? and how what functions ?
×
×
  • Create New...