Jump to content

jirco

Members
  • Posts

    20
  • Joined

  • Last visited

Everything posted by jirco

  1. Yea I think I get I will upload the code this evening when i'm on my PC @Sended on my friends PC
  2. Hallo ik wou vragen of iemand van jullie nog een "clean" GTA3 file heeft mijne is namelijk overmodded en ik ben mijn backup kwijt
  3. thank you i added it and it works
  4. local UtilityServiceCar = {} UtilityServiceCar[1] = createVehicle(482, -2080.7998046875, -168.599609375, 35.5, 0, 0, 180.24719238281, "Utility Service") -- Burrito hello everybody i wanted to ask how i can get 1 color for about 15 veh in a script this is one line of the script how can i add the color for the 15 vehicles in this?
  5. local sx, sy, sz = -1754.0609130859, 961.62359619141, 24.8828126 -- Original spawnpoint local rx, ry, rz = -1754.0609130859, 961.62359619141, 24.8828128 -- Respawnpoint so i got this in the script but when i log in i spawn on other places after i die again i spawn at a random place can anybody help me???
  6. als je nog altijd hulp zoekt moet je op google eens lua scripting tutorial opzoeken zo heb ik het ook gedaan en dan kan je proberen zelf scripts te maken uiteindelijk kan je dan al vrij veel om te beginnen daarna heb ik een voledig script voor teams en teams te joinen gemaakt zodat je skin wisseld je wapens krijgt enz. ook heb ik een pay en spray en een gate system. dus probeer gewoon wat en doe als er problemen zijn ingame /debug script hier zal je problemen kunnen zien zoals je bijvoorbeeld ergens een spatie ofzo nodig hebt, Als je dan nog problemen hebt post je script dan in het algemene scripting forum hier zullen ze je waarschijnlijk wel helpen.
  7. vanboven op deze site zie je hosting staan natuurlijk moet je ervoor betalen maar dan is je server wel online ik ga in het kort ook mijn server via daar online zetten. Waarschijnlijk zal je dus je server online kunnen zetten via daar. MVG Jiirco owner of Flatline Gaming
  8. i readed them and i understand more now so thanks for that link
  9. yes it would be helpfull
  10. i mean like "area 51" in GTA SA map can i delete a fence or a tower from that somehow so the basic map and then delete someting. i know that it is possible but i don't know how
  11. i have one other little question can i delete things from the original map? i want to make a base with of course cars but there is a fence can i delete this somehow or not?
  12. srry for the late reaction but it works now really thanks xdstep
  13. Hello everybody i wanted to ask what illegal characters are in a script because the script won't work i try to find them but i don't really know what they are if you got time you can search for them it is a script from 2 weeks of work and 897 lines i've made it at a friends house and now i changed it from how i need it so i think i deleted something too much or so... so the main question is what are illegal characters? FraktionpanelOpen = 0 local blockFraklistSpam = 0 local frakPanelFraktion = false local frakPanelBlacklist = false FraktionpanelTab = {} FraktionpanelButton = {} FraktionpanelLabel = {} FraktionpanelGrid = {} FraktionpanelColumn = {} FraktionpanelWindow = guiCreateWindow(screenx/2-351/2,screeny/2-452/2,351,452,"Fraktions",false) guiSetVisible(FraktionpanelWindow,false) guiSetAlpha(FraktionpanelWindow,1) guiWindowSetSizable(FraktionpanelWindow,false) guiWindowSetMovable(FraktionpanelWindow,false) FraktionpanelTabPanel = guiCreateTabPanel(9,28,332,415,false,FraktionpanelWindow) FraktionpanelTab[1] = guiCreateTab("Wanteds",FraktionpanelTabPanel) FraktionpanelButton[1] = guiCreateButton(7,9,102,38,"Give wanteds",false,FraktionpanelTab[1]) FraktionpanelButton[2] = guiCreateButton(7,54,103,38,"Delete wanteds",false,FraktionpanelTab[1]) FraktionpanelButton[3] = guiCreateButton(7,99,103,38,"Track down",false,FraktionpanelTab[1]) FraktionpanelGrid[1] = guiCreateGridList(122,10,200,237,false,FraktionpanelTab[1]) FraktionpanelColumn[1] = guiGridListAddColumn(FraktionpanelGrid[1],"Name",0.625) FraktionpanelColumn[2] = guiGridListAddColumn(FraktionpanelGrid[1],"Wanteds",0.2) guiGridListSetSelectionMode(FraktionpanelGrid[1],0) FraktionpanelGrid[2] = guiCreateGridList(122,253,200,132,false,FraktionpanelTab[1]) guiGridListSetSelectionMode(FraktionpanelGrid[2],0) FraktionpanelColumn[4] = guiGridListAddColumn(FraktionpanelGrid[2],"",0.2) FraktionpanelColumn[3] = guiGridListAddColumn(FraktionpanelGrid[2],"Reason",0.6) FraktionpanelWantedGrundRow = guiGridListAddRow(FraktionpanelGrid[2]) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[3],"Refusing arrest",false,false) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[4],"1",false,false) FraktionpanelWantedGrundRow = guiGridListAddRow(FraktionpanelGrid[2]) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[3],"Prevent Government",false,false) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[4],"1",false,false) FraktionpanelWantedGrundRow = guiGridListAddRow(FraktionpanelGrid[2]) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[3],"disturbing the public order",false,false) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[4],"1",false,false) FraktionpanelWantedGrundRow = guiGridListAddRow(FraktionpanelGrid[2]) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[3],"Refusing a order",false,false) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[4],"1",false,false) FraktionpanelWantedGrundRow = guiGridListAddRow(FraktionpanelGrid[2]) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[3],"Try to steal",false,false) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[4],"1",false,false) FraktionpanelWantedGrundRow = guiGridListAddRow(FraktionpanelGrid[2]) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[3],"bring damage to objects",false,false) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[4],"1",false,false) FraktionpanelWantedGrundRow = guiGridListAddRow(FraktionpanelGrid[2]) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[3],"Theft",false,false) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[4],"2",false,false) FraktionpanelWantedGrundRow = guiGridListAddRow(FraktionpanelGrid[2]) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[3],"Helping Escape",false,false) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[4],"2",false,false) FraktionpanelWantedGrundRow = guiGridListAddRow(FraktionpanelGrid[2]) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[3],"Shooting",false,false) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[4],"2",false,false) FraktionpanelWantedGrundRow = guiGridListAddRow(FraktionpanelGrid[2]) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[3],"Driving without a license",false,false) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[4],"2",false,false) FraktionpanelWantedGrundRow = guiGridListAddRow(FraktionpanelGrid[2]) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[3],"robbery",false,false) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[4],"3",false,false) FraktionpanelWantedGrundRow = guiGridListAddRow(FraktionpanelGrid[2]) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[3],"Murder",false,false) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[4],"3",false,false) FraktionpanelWantedGrundRow = guiGridListAddRow(FraktionpanelGrid[2]) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[3],"Taking Hostages",false,false) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[4],"4",false,false) FraktionpanelWantedGrundRow = guiGridListAddRow(FraktionpanelGrid[2]) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[3],"Baseburglary",false,false) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[4],"4",false,false) FraktionpanelWantedGrundRow = guiGridListAddRow(FraktionpanelGrid[2]) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[3],"Illegal Transport",false,false) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[4],"4",false,false) FraktionpanelWantedGrundRow = guiGridListAddRow(FraktionpanelGrid[2]) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[3],"Terroristic attack",false,false) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[4],"6",false,false) FraktionpanelWantedGrundRow = guiGridListAddRow(FraktionpanelGrid[2]) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[3],"Jail-Breach",false,false) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[4],"8",false,false) FraktionpanelWantedGrundRow = guiGridListAddRow(FraktionpanelGrid[2]) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[3],"Bank Robbery",false,false) guiGridListSetItemText(FraktionpanelGrid[2],FraktionpanelWantedGrundRow,FraktionpanelColumn[4],"12",false,false) FraktionpanelTab[4] = guiCreateTab("Blacklist",FraktionpanelTabPanel) FraktionpanelButton[13] = guiCreateButton(7,9,102,38,"Put on Blacklist",false,FraktionpanelTab[4]) FraktionpanelButton[14] = guiCreateButton(7,54,103,38,"Remove from Blacklist",false,FraktionpanelTab[4]) FraktionpanelEdit4 = guiCreateEdit(7,99,103,38,false,FraktionpanelTab[4]) FraktionpanelGrid[6] = guiCreateGridList(122,10,200,300,false,FraktionpanelTab[4]) guiGridListSetSelectionMode(FraktionpanelGrid[6],1) FraktionpanelColumn[10] = guiGridListAddColumn(FraktionpanelGrid[6],"Name",0.-- s8) --> FraktionpanelTab[5] = guiCreateTab("Weather",FraktionpanelTabPanel) FraktionpanelButton[17] = guiCreateButton(7,9,102,38,"Change",false,FraktionpanelTab[5]) FraktionpanelGrid[9] = guiCreateGridList(122,10,200,300,false,FraktionpanelTab[5]) guiGridListSetSelectionMode(FraktionpanelGrid[9],0) FraktionpanelColumn[11] = guiGridListAddColumn(FraktionpanelGrid[9],"Weather",0.6) FraktionpanelColumn[12] = guiGridListAddColumn(FraktionpanelGrid[9],"Waves",0.2) FraktionpanelWetterRow = guiGridListAddRow(FraktionpanelGrid[9]) guiGridListSetItemText(FraktionpanelGrid[9],FraktionpanelWetterRow,FraktionpanelColumn[11],"Heat",false,false) guiGridListSetItemText(FraktionpanelGrid[9],FraktionpanelWetterRow,FraktionpanelColumn[12],"0",false,false) FraktionpanelWetterRow = guiGridListAddRow(FraktionpanelGrid[9]) guiGridListSetItemText(FraktionpanelGrid[9],FraktionpanelWetterRow,FraktionpanelColumn[11],"Blue Sky",false,false) guiGridListSetItemText(FraktionpanelGrid[9],FraktionpanelWetterRow,FraktionpanelColumn[12],"0.3",false,false) FraktionpanelWetterRow = guiGridListAddRow(FraktionpanelGrid[9]) guiGridListSetItemText(FraktionpanelGrid[9],FraktionpanelWetterRow,FraktionpanelColumn[11],"Blue sky and cloudy",false,false) guiGridListSetItemText(FraktionpanelGrid[9],FraktionpanelWetterRow,FraktionpanelColumn[12],"0.4",false,false) FraktionpanelWetterRow = guiGridListAddRow(FraktionpanelGrid[9]) guiGridListSetItemText(FraktionpanelGrid[9],FraktionpanelWetterRow,FraktionpanelColumn[11],"cloudy",false,false) guiGridListSetItemText(FraktionpanelGrid[9],FraktionpanelWetterRow,FraktionpanelColumn[12],"0.5",false,false) FraktionpanelWetterRow = guiGridListAddRow(FraktionpanelGrid[9]) guiGridListSetItemText(FraktionpanelGrid[9],FraktionpanelWetterRow,FraktionpanelColumn[11],"Grey and sad",false,false) guiGridListSetItemText(FraktionpanelGrid[9],FraktionpanelWetterRow,FraktionpanelColumn[12],"0.1",false,false) FraktionpanelWetterRow = guiGridListAddRow(FraktionpanelGrid[9]) guiGridListSetItemText(FraktionpanelGrid[9],FraktionpanelWetterRow,FraktionpanelColumn[11],"Stormy",false,false) guiGridListSetItemText(FraktionpanelGrid[9],FraktionpanelWetterRow,FraktionpanelColumn[12],"2",false,false) FraktionpanelWetterRow = guiGridListAddRow(FraktionpanelGrid[9]) guiGridListSetItemText(FraktionpanelGrid[9],FraktionpanelWetterRow,FraktionpanelColumn[11],"Foggy",false,false) guiGridListSetItemText(FraktionpanelGrid[9],FraktionpanelWetterRow,FraktionpanelColumn[12],"0.1",false,false) FraktionpanelWetterRow = guiGridListAddRow(FraktionpanelGrid[9]) guiGridListSetItemText(FraktionpanelGrid[9],FraktionpanelWetterRow,FraktionpanelColumn[11],"Cloudy and Rainy",false,false) guiGridListSetItemText(FraktionpanelGrid[9],FraktionpanelWetterRow,FraktionpanelColumn[12],"1",false,false) FraktionpanelWetterRow = guiGridListAddRow(FraktionpanelGrid[9]) guiGridListSetItemText(FraktionpanelGrid[9],FraktionpanelWetterRow,FraktionpanelColumn[11],"Heat-Waves",false,false) guiGridListSetItemText(FraktionpanelGrid[9],FraktionpanelWetterRow,FraktionpanelColumn[12],"0",false,false) FraktionpanelTab[3] = guiCreateTab("UDC-Points",FraktionpanelTabPanel) FraktionpanelButton[10] = guiCreateButton(7,9,102,38,"UDC-Points",false,FraktionpanelTab[3]) FraktionpanelButton[11] = guiCreateButton(7,54,103,38,"Remove Points",false,FraktionpanelTab[3]) FraktionpanelGrid[4] = guiCreateGridList(122,10,200,237,false,FraktionpanelTab[3]) FraktionpanelColumn[7] = guiGridListAddColumn(FraktionpanelGrid[4],"Name",0.625) FraktionpanelColumn[8] = guiGridListAddColumn(FraktionpanelGrid[4],"UDC-Points",0.2) guiGridListSetSelectionMode(FraktionpanelGrid[4],1) FraktionpanelGrid[5] = guiCreateGridList(122,253,200,132,false,FraktionpanelTab[3]) guiGridListSetSelectionMode(FraktionpanelGrid[5],1) FraktionpanelColumn[7] = guiGridListAddColumn(FraktionpanelGrid[5],"",0.2) FraktionpanelColumn[8] = guiGridListAddColumn(FraktionpanelGrid[5],"Reason",0.6) FraktionpanelSTVOGrundRow = guiGridListAddRow(FraktionpanelGrid[5]) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[8],"Burnout",false,false) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[7],"1",false,false) FraktionpanelSTVOGrundRow = guiGridListAddRow(FraktionpanelGrid[5]) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[8],"Wheelie",false,false) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[7],"1",false,false) FraktionpanelSTVOGrundRow = guiGridListAddRow(FraktionpanelGrid[5]) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[8],"Parking On The Street",false,false) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[7],"1",false,false) FraktionpanelSTVOGrundRow = guiGridListAddRow(FraktionpanelGrid[5]) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[8],"Damaging Objects",false,false) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[7],"1",false,false) FraktionpanelSTVOGrundRow = guiGridListAddRow(FraktionpanelGrid[5]) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[8],"abuse of the transition rules",false,false) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[7],"2",false,false) FraktionpanelSTVOGrundRow = guiGridListAddRow(FraktionpanelGrid[5]) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[8],"abuse of the one way street",false,false) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[7],"3",false,false) FraktionpanelSTVOGrundRow = guiGridListAddRow(FraktionpanelGrid[5]) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[8],"Landing On The Street",false,false) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[7],"3",false,false) FraktionpanelSTVOGrundRow = guiGridListAddRow(FraktionpanelGrid[5]) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[8],"Making a Accident",false,false) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[7],"4",false,false) FraktionpanelSTVOGrundRow = guiGridListAddRow(FraktionpanelGrid[5]) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[8],"Ghost Riding",false,false) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[7],"4",false,false) FraktionpanelSTVOGrundRow = guiGridListAddRow(FraktionpanelGrid[5]) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[8],"Illegal Streetracing",false,false) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[7],"4",false,false) FraktionpanelSTVOGrundRow = guiGridListAddRow(FraktionpanelGrid[5]) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[8],"Racing (120km/h) ",false,false) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[7],"5",false,false) FraktionpanelSTVOGrundRow = guiGridListAddRow(FraktionpanelGrid[5]) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[8],"Driving over People",false,false) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[7],"6",false,false) FraktionpanelSTVOGrundRow = guiGridListAddRow(FraktionpanelGrid[5]) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[8],"Nitro Using",false,false) guiGridListSetItemText(FraktionpanelGrid[5],FraktionpanelSTVOGrundRow,FraktionpanelColumn[7],"6",false,false) FraktionpanelLabel[1] = guiCreateLabel(5,257,103,125,"Grund:",false,FraktionpanelTab[3]) guiLabelSetVerticalAlign(FraktionpanelLabel[1],"center") guiLabelSetHorizontalAlign(FraktionpanelLabel[1],"right",false) guiSetFont(FraktionpanelLabel[1],"default-bold-small") FraktionpanelTab[2] = guiCreateTab("INFO",FraktionpanelTabPanel) FraktionpanelLabel[2] = guiCreateLabel(8,8,317,38,"Fraktion Money: ",false,FraktionpanelTab[2]) guiLabelSetHorizontalAlign(FraktionpanelLabel[2],"right",false) guiSetFont(FraktionpanelLabel[2],"default-bold-small") FraktionpanelEdit = guiCreateEdit(9,50,110,33,"",false,FraktionpanelTab[2]) FraktionpanelButton[4] = guiCreateButton(126,50,84,34,"Put Money In",false,FraktionpanelTab[2]) FraktionpanelButton[5] = guiCreateButton(218,50,84,34,"Get Money Out",false,FraktionpanelTab[2]) FraktionpanelGrid[3] = guiCreateGridList(11,93,200,239,false,FraktionpanelTab[2]) guiGridListSetSelectionMode(FraktionpanelGrid[3],1) guiGridListSetSortingEnabled(FraktionpanelGrid[3],false) FraktionpanelColumn[5] = guiGridListAddColumn(FraktionpanelGrid[3],"Name",0.45) FraktionpanelColumn[6] = guiGridListAddColumn(FraktionpanelGrid[3],"Rang",0.14) FraktionpanelEdit3 = guiCreateEdit(218,93,84,34,"",false,FraktionpanelTab[2]) FraktionpanelColumn[9] = guiGridListAddColumn(FraktionpanelGrid[3],"Warning",0.14) FraktionpanelColumn[11] = guiGridListAddColumn(FraktionpanelGrid[3],"EXP",0.14) FraktionpanelButton[12] = guiCreateButton(218,134,84,34,"Put EXP",false,FraktionpanelTab[2]) FraktionpanelButton[6] = guiCreateButton(218,175,84,34,"Rang up",false,FraktionpanelTab[2]) FraktionpanelButton[7] = guiCreateButton(218,216,84,34,"Rang down",false,FraktionpanelTab[2]) FraktionpanelEdit2 = guiCreateEdit(218,257,84,34,"",false,FraktionpanelTab[2]) FraktionpanelButton[8] = guiCreateButton(218,298,84,34,"Inviten",false,FraktionpanelTab[2]) FraktionpanelButton[9] = guiCreateButton(218,339,84,34,"Uninviten",false,FraktionpanelTab[2]) FraktionpanelButton[15] = guiCreateButton(12,339,84,34,"Give Warning",false,FraktionpanelTab[2]) FraktionpanelButton[16] = guiCreateButton(100,339,84,34,"Remove Warning",false,FraktionpanelTab[2]) bindKey ( "f2", "down", function() if FraktionpanelOpen == 0 then if getElementData(getLocalPlayer(),"Clicked") == false and getElementData(getLocalPlayer(),"inarztVeh") == false and getElementData(getLocalPlayer(),"Duty") == true and tonumber(getElementData(getLocalPlayer(),"Fraktion")) >= 1 then guiSetVisible(FraktionpanelTab[5],false) if tonumber(getElementData(getLocalPlayer(),"Fraktion")) == 3 then guiSetVisible(FraktionpanelTab[5],true) end if tonumber(getElementData(getLocalPlayer(),"Fraktion")) == 1 or tonumber(getElementData(getLocalPlayer(),"Fraktion")) == 2 or tonumber(getElementData(getLocalPlayer(),"Fraktion")) == 3 or tonumber(getElementData(getLocalPlayer(),"Fraktion")) == 4 then guiSetVisible(FraktionpanelTab[1],true) guiSetVisible(FraktionpanelTab[3],true) if not frakPanelFraktion or frakPanelFraktion ~= tonumber(getElementData(getLocalPlayer(),"Fraktion")) then guiGridListRemoveColumn ( FraktionpanelGrid[3], FraktionpanelColumn[11] ) FraktionpanelColumn[11] = guiGridListAddColumn(FraktionpanelGrid[3],"PA",0.14) end guiSetVisible(FraktionpanelButton[12],false) guiSetVisible(FraktionpanelEdit3,false) guiSetSelectedTab ( FraktionpanelTabPanel, FraktionpanelTab[1] ) guiSetText(FraktionpanelButton[12],"Give EXP") if tonumber(getElementData(getLocalPlayer(),"Fraktion")) == 1 then guiSetVisible(FraktionpanelButton[12],true) guiSetVisible(FraktionpanelEdit3,true) end if tonumber(getElementData(getLocalPlayer(),"Fraktion")) == 7 then guiSetVisible(FraktionpanelTab[3],false) if not frakPanelFraktion or frakPanelFraktion ~= tonumber(getElementData(getLocalPlayer(),"Fraktion")) then guiGridListRemoveColumn ( FraktionpanelGrid[3], FraktionpanelColumn[11] ) FraktionpanelColumn[11] = guiGridListAddColumn(FraktionpanelGrid[3],"GW",0.14) end guiSetVisible(FraktionpanelButton[12],true) guiSetText(FraktionpanelButton[12],"Put Ranger-Tag") guiSetVisible(FraktionpanelEdit3,true) end else guiSetVisible(FraktionpanelTab[1],false) guiSetVisible(FraktionpanelTab[3],false) guiGridListRemoveColumn ( FraktionpanelGrid[3], FraktionpanelColumn[11] ) guiSetVisible(FraktionpanelButton[12],false) guiSetVisible(FraktionpanelEdit3,false) guiSetSelectedTab ( FraktionpanelTabPanel, FraktionpanelTab[2] ) if tonumber(getElementData(getLocalPlayer(),"Fraktion")) >= 4 and tonumber(getElementData(getLocalPlayer(),"Fraktion")) <= 6 then guiSetSelectedTab ( FraktionpanelTabPanel, FraktionpanelTab[4] ) elseif tonumber(getElementData(getLocalPlayer(),"Fraktion")) == 3 then guiSetSelectedTab ( FraktionpanelTabPanel, FraktionpanelTab[5] ) end
  14. it is a selfmade map it always worked but now i didn't opened it for a while and it doesn't wants to open anymore now.
  15. hello to you all, when i am in my map editor i can open all maps except 1 just the one i need when i click open it doesn't do anything and when i click save then the editor says can't save when a map is being loaded or something like that can anybody help me please? p.s. i tried reinstalling a few times MTA and GTA and i still have this problem already thanks.
  16. like i said i just started so there could be mistakes and thanks for the help! and indeed i copied the script from the link and changed it to how i wanted it i was just stuck with the Gui box
  17. Hello everybody, i wanted to ask something i just started scripting and i made a script that other teams can't enter but i want that a gui box opens and that the text is in it instead of the outputchatbox but i just don't know how can anybody help me please? and i wanted to ask if this script is correct i didn't tested it yet teamName = "CIA" or "SFPD" or "Military Police" or "U.S. Army" SFPDVehs = { [427] = true } SFPDVehs = { [523] = true } SFPDVehs = { [525] = true } SFPDVehs = { [596] = true } SFPDVehs = { [599] = true } SFPDVehs = { [597] = true } SFPDVehs = { [598] = true } SFPDVehs = { [497] = true } function enterVehicle ( thePlayer ) if SFPDVehs [ getElementModel ( source ) ] then if getTeamFromName ( teamName ) then if getPlayerTeam ( thePlayer ) ~= getTeamFromName ( teamName ) then function exitVehicle ( thePlayer ) and outputChatBox ( "Only the fraktions can drive these cars!", thePlayer, 255, 0, 0, true ) cancelEvent ( ) end else outputChatBox ( "The Team Is not Available !", thePlayer, 255, 255, 0, true ) end end end addEventHandler ( "onVehicleStartEnter", root, enterVehicle )
  18. hello you guys i wanted to put a gate in a interior but i don't now how that i have tu put it inside the script this is a script of a other gate because i don't have the script for the interior on my laptop but please tell me via this script how that i do that local gate = createObject(7709, -2122.5, 381.89999389648, 35.700000762939, 0, 0, 358) megusta = false addCommandHandler("gate", function (source) -- i define source here (this needed for server side only) if ( getTeamName ( getPlayerTeam ( source ) ) == "CIA" ) then if (megusta == false) then moveObject(gate, 2500, -2122.5, 381.89999389648, 30, 0, 0, 0 ) megusta = true elseif (megusta == true) then moveObject(gate, 2500, -2122.5, 381.89999389648, 35.700000762939, 0, 0, 0 ) megusta = false else outputChatBox( "you're not in the CIA!", source, 0, 255, 0, true ) end end end)
  19. so you mean like a biker team that they can't come in the car?
  20. hello everybody i am learning how to script i have a question is it possible to make a script that only members that are in a gang can drive in their cars like a Stafford with plate Mafia is it possible to make a script that when you are in the group mafia you can drive with it but if you are in a other group or in no group it says: You are not in the mafia! also take 2 cars like a infernus and a stafford and you got ranks from 0 to 5, you are rank 1 and you can only drive with the infernus from rank 3 is it possible that it says You need rank 3 to drive this! or a other text? so can cars only be for gangs? and take mafia rank 2 stafford mafia rank 3 infernus i get in the infernus when i am rank 2 i get thrown out and a text says: your rank isn't high enough! already thanks! Greetings jirco
×
×
  • Create New...