Jump to content

mjau

Members
  • Posts

    589
  • Joined

  • Last visited

Everything posted by mjau

  1. if anyone still dont know how i will make a video tomorrow
  2. is the problem that the hydra donte deattach or it dont start ?
  3. Fack something is wrong i cant login to my cp and server is offline i also have been online everyda on cp the port is 22006 please help
  4. Still have my server after visiting controlpanel each day and i have had it a week or 2 now oh and btw a suggestion is sub accounts for it so if i go on vacation the subaacount can login and and stuff but make it possible to restrcit so he dont see my ftp passowrd
  5. mjau

    webhost

    any better free webhosts ?
  6. mjau

    Gridlist help

    Tnx now i have a new problem how can i make it set the engine state off on the selcted player wehn i clcik a button ? This is my code GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Grid = {} function gui() showCursor ( true ) GUIEditor_Window[1] = guiCreateWindow(380,328,425,274,"Army Ranger Tools",false) GUIEditor_TabPanel[1] = guiCreateTabPanel(9,20,407,206,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("EMP",GUIEditor_TabPanel[1]) GUIEditor_Grid[1] = guiCreateGridList(3,4,164,175,false,GUIEditor_Tab[1]) guiGridListSetSelectionMode(GUIEditor_Grid[1],2) guiGridListAddColumn(GUIEditor_Grid[1],"Players",0.2) GUIEditor_Button[1] = guiCreateButton(171,11,93,36,"EMP Him",false,GUIEditor_Tab[1]) GUIEditor_Button[2] = guiCreateButton(171,54,93,35,"Spectate",false,GUIEditor_Tab[1]) GUIEditor_Label[1] = guiCreateLabel(271,58,116,31,"To check if right person",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[1],255,255,255) guiLabelSetVerticalAlign(GUIEditor_Label[1],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[1],"left",false) GUIEditor_Button[3] = guiCreateButton(171,92,93,35,"Refresh",false,GUIEditor_Tab[1]) GUIEditor_Label[2] = guiCreateLabel(268,96,120,29,"Refresh the playerlist",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[2],255,255,255) guiLabelSetVerticalAlign(GUIEditor_Label[2],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[2],"left",true) GUIEditor_Tab[2] = guiCreateTab("Equipment",GUIEditor_TabPanel[1]) GUIEditor_Button[4] = guiCreateButton(2,2,96,40,"Tazer",false,GUIEditor_Tab[2]) GUIEditor_Button[5] = guiCreateButton(102,3,96,40,"Parachute",false,GUIEditor_Tab[2]) GUIEditor_Button[6] = guiCreateButton(203,4,96,40,"Nightvision",false,GUIEditor_Tab[2]) GUIEditor_Button[7] = guiCreateButton(302,5,96,40,"Infrared",false,GUIEditor_Tab[2]) GUIEditor_Button[8] = guiCreateButton(2,47,96,40,"Nightstick",false,GUIEditor_Tab[2]) GUIEditor_Tab[3] = guiCreateTab("Others",GUIEditor_TabPanel[1]) GUIEditor_Grid[2] = guiCreateGridList(2,3,132,174,false,GUIEditor_Tab[3]) guiGridListSetSelectionMode(GUIEditor_Grid[2],2) guiGridListAddColumn(GUIEditor_Grid[2],"Players",0.2) GUIEditor_Button[9] = guiCreateButton(135,8,96,36,"Deport From A69",false,GUIEditor_Tab[3]) GUIEditor_Button[10] = guiCreateButton(16,233,393,32,"Close me",false,GUIEditor_Window[1]) addEventHandler("onClientGUIClick", GUIEditor_Button[3], findplayers, false) end addCommandHandler("tools", gui) function findplayers() guiGridListClear ( GUIEditor_Grid[1] ) for index, player in ipairs ( getElementsByType ( "player" ) ) do local row = guiGridListAddRow ( GUIEditor_Grid[1] ) guiGridListSetItemText ( GUIEditor_Grid[1] , row , 1 , getPlayerName ( player ) , false , false ) end end
  7. mjau

    Gridlist help

    where should i put it ?
  8. mjau

    Gridlist help

    Hi i have a gui and i wondered how i can fill the first gridlist in it with all the players on the server how to do this Heres my gui GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Grid = {} GUIEditor_Window[1] = guiCreateWindow(375,372,425,235,"Army Ranger Tools",false) GUIEditor_TabPanel[1] = guiCreateTabPanel(9,20,407,206,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("EMP",GUIEditor_TabPanel[1]) GUIEditor_Grid[1] = guiCreateGridList(3,4,164,175,false,GUIEditor_Tab[1]) guiGridListSetSelectionMode(GUIEditor_Grid[1],2) guiGridListAddColumn(GUIEditor_Grid[1],"Players",0.2) GUIEditor_Button[1] = guiCreateButton(171,11,93,36,"EMP Him",false,GUIEditor_Tab[1]) GUIEditor_Button[2] = guiCreateButton(171,54,93,35,"Spectate",false,GUIEditor_Tab[1]) GUIEditor_Label[1] = guiCreateLabel(271,58,116,31,"To check if right person",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[1],255,255,255) guiLabelSetVerticalAlign(GUIEditor_Label[1],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[1],"left",true) GUIEditor_Tab[2] = guiCreateTab("Equipment",GUIEditor_TabPanel[1]) GUIEditor_Button[3] = guiCreateButton(2,2,96,40,"Tazer",false,GUIEditor_Tab[2]) GUIEditor_Button[4] = guiCreateButton(102,3,96,40,"Parachute",false,GUIEditor_Tab[2]) GUIEditor_Button[5] = guiCreateButton(203,4,96,40,"Nightvision",false,GUIEditor_Tab[2]) GUIEditor_Button[6] = guiCreateButton(302,5,96,40,"Infrared",false,GUIEditor_Tab[2]) GUIEditor_Tab[3] = guiCreateTab("Others",GUIEditor_TabPanel[1]) GUIEditor_Grid[2] = guiCreateGridList(2,3,132,174,false,GUIEditor_Tab[3]) guiGridListSetSelectionMode(GUIEditor_Grid[2],2) guiGridListAddColumn(GUIEditor_Grid[2],"Players",0.2) GUIEditor_Button[7] = guiCreateButton(135,8,96,36,"Deport From A69",false,GUIEditor_Tab[3])
  9. mjau

    question

    Ahh forgot that did things a bit in a rush there Edi ttnx
  10. mjau

    question

    Hydra1 = createVehicle ( 520, 362.26513671875, 1997.4976806641, 21.543445587158 ) function lockTheHydras(player, seat, jacked) if source == Hydra1 then local accountname = getAccountName (getPlayerAccount(source)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "AR-AirForce" ) ) then return end else cancelEvent() end end addEventHandler ( "onVehicleStartEnter", getRootElement(), lockTheHydras ) now it says something about a boolean value at get account name
  11. mjau

    question

    hi i am going to make some locked vehicles by acl and i think i know all thr functions i need but i dont know where to start Hydra1 = createVehicle ( 520, 362.26513671875, 1997.4976806641, 21.543445587158 ) Hydra2 = Hydra3 = Hydra4 = Hydra5 = function lockTheHydras() --code for that here and i think this are what i need isObjectInACLGroup cancelEvent onVehicleStartEnter Well the problem is that if i just put an if check on isObjectInACLGroup it will do that for everyvehicle in th server how can i make it only for the 5 hydras i created?
  12. I agrre with you when it comes to the police civilian and all thabt but invite only groups i will use ACL on
  13. mjau

    A little problem

    Ahh it works tnx jr10 srry for being late but im trying to learn adobe dreamweawer and that take some time
×
×
  • Create New...