Jump to content

toptional

Members
  • Posts

    493
  • Joined

Everything posted by toptional

  1. Sorry the issue is The GUI Randomly comes up in a weird position upon resource start and it fails to load the script cuase of errors Errors are all about the GUI
  2. toptional

    GUI help!

    What is wrong with this GUI, Please fix thanks! Planecarmarker = createMarker ( 1684.59326, 1453.62866, 9.76983 , "cylinder", 2, 9, 233, 213, 105 ) function MarkerHit (hitPlayer, matchingDimension ) guiSetVisible (GUIEditor_Window[3], true ) end addEventHandler ( "onClientMarkerHit", planecarmarker, MarkerHit ) --PutCarFreeSpawn GUI HERE!!! GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Grid = {} GUIEditor_Window[3] = guiCreateWindow(322,193,361,409,"Aviator Free Car Spawner by Robbster",false) GUIEditor_Label[3] = guiCreateLabel(102,115,117,123,"",false,GUIEditor_Window[3]) GUIEditor_Grid[3] = guiCreateGridList(42,54,277,216,false,GUIEditor_Window[3]) guiGridListSetSelectionMode(GUIEditor_Grid[1],2) guiGridListAddColumn(GUIEditor_Grid[3],"Airport Cars",0.2) for i = 1, 3 do guiGridListAddRow(GUIEditor_Grid[3]) end guiGridListSetItemText(GUIEditor_Grid[3],0,1,"Baggage") guiGridListSetItemText(GUIEditor_Grid[3],1,1,"Tug") guiGridListSetItemText(GUIEditor_Grid[3],2,1,"Utility Van") GUIEditor_Button[3] = guiCreateButton(40,307,296,80,"Close",false,GUIEditor_Window[1]) addEventHandler ( 'onClientGUIClick', GUIEditor_Button[3], function ( ) setCameraTarget ( localPlayer ) guiSetVisible ( GUIEditor_Window[3], false ) --removes GUI on click Exit Button showCursor ( false ) --shows cursor end ) Thank you! This is from a bigger script, i dont think you need the other part though
  3. Yeahh!!! Thanks! Whats the ID? And Thanks Renkon for the Functions
  4. Ok the First question is... What are the names of those vehicles that are used in an airport, for example the Baggage(its called that) theres another one 2nd question is what is the name of the function that spawns are vehicle and warps you into it straight away
  5. That gives me the planes, i want those car utlity car things. Like the Baggage, i know theres one more i just cant remember what its called Also whats that function called that spawns are car and warps you into a vehicle?
  6. What are those aircraft vechicles? i forgot, i know there is baggage whats the other one? Please give me the ID too! Thanks
  7. I actually did report him once with proof of the attack, but his town's authorities fwd'ed me to FBI >.> And I still didn't get a reply from them. Well i got them banned on Game-monitor, I just wish they were banned on MTA
  8. Open up a local test server and show me please, Seriously it just wont work for me! PM me the IP ! Thanks
  9. Nothing Comes in the chat Box, The Spawning dont work
  10. toptional

    Help

    MACHINE WTF IS THAT YOU? MACHINE??????????????
  11. You Spawn the login Panel shows , then get spawned the this room and enter the marker and then clicking the button doesnt get you spawned to the new location D:
  12. Exactly the samething just happened 2 days ago and server still isnt up, i have contacted the host they got no idea! (No naughty stuff on my server lol)
  13. Just tested it nope dont work The Button appears somewhere random as soon as i connect and the spawning doesnt work Heres the full script if you need it Client spawnmarker = createMarker ( 1969.9000244141, -1517.8000488281, 970.79998779297 , "cylinder", 2, 9, 30, 213, 255 ) function MarkerHit ( hitPlayer, matchingDimension ) guiSetVisible ( GUIEditor_Window[2], true ) outputChatBox ( getPlayerName ( hitPlayer ) .." entered a marker" ) end addEventHandler ( "onClientMarkerHit", spawnmarker, MarkerHit ) GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Window[2] = guiCreateWindow(147,141,749,548,"The Aviator Spawn Panel by Robbster",false) guiSetVisible ( GUIEditor_Window[2], false ) GUIEditor_Memo[2] = guiCreateMemo(80,56,627,302,'Welcome to to the Aviators Airline Gamemode!t\n\n-----\nINFO\nINFO \nINFO\nINFO\n-------\n\nHere are the ranks\n\nA student pilot is 0 points : These can fly everything except the Andromada, AT-400, military planes and military helicopters (hydra/hunter)\n\nA Private pilot is 150 points : These can fly everything except the Andromada and AT-400, and military planes and helicopters (hydra/hunter) and flying with the shamal will be x1.5 the amount of money a student pilot earns\n\nA Commercial pilot is 250 points : These can fly everything except the military planes and helicopters (hydra/hunter)\n\nArmy pilots is 500 points : These can fly everything\nIn an airline, all airplanes of the airline can be used not matter what \"level\" you are.',false,GUIEditor_Window[2]) GUIEditor_Label[1] = guiCreateLabel(270,398,94,46,"",false,GUIEditor_Window[2]) GUIEditor_Button[1] = guiCreateButton(280,401,194,92,"Lets get to Work Pilot!",false,GUIEditor_Window[2]) button = guiCreateButton(280,401,194,92,"Lets get to Work Pilot!",false ) addEventHandler('onClientGUIClick', button, function () setElementPosition ( localPlayer, 1679.3029785156, 1446.3712158203, 11.043098449707 ) end ) Server ---Spawning the player to the Spawn Room--- function spawn ( ) spawnPlayer ( source , 1958.7082519531, -1517.5471191406, 973.55889892578, 0, 1, 0, 0 ) end addEventHandler ( 'onPlayerLogin', getRootElement(), spawn )
  14. You cant contact there hositng providor becuase they have a powerfull home host D:
  15. Whats wrong with this , Its something sooo easy i just cant figure out whats wrong URGGG!! GUIEditor_Button[1] = guiCreateButton(280,401,194,92,"Lets get to Work Pilot!",false,GUIEditor_Window[2]) button = guiCreateButton(280,401,194,92,"Lets get to Work Pilot!",true ) addEventHandler('onClientGUIClick', button, function () setElementPosition ( localPlayer, 1679.3029785156, 1446.3712158203, 11.043098449707 ) end )
  16. Do i put the coords where it says button? you put name of button where it say's "BUTTON" and replace "--code" to code you want it to be I have done this , Please fix it GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Window[2] = guiCreateWindow(147,141,749,548,"The Aviator Spawn Panel by Robbster",false) guiSetVisible ( GUIEditor_Window[2], false ) GUIEditor_Memo[2] = guiCreateMemo(80,56,627,302,'Welcome to to the Aviators Airline Gamemode!t\n\n-----\nINFO\nINFO \nINFO\nINFO\n-------\n\nHere are the ranks\n\nA student pilot is 0 points : These can fly everything except the Andromada, AT-400, military planes and military helicopters (hydra/hunter)\n\nA Private pilot is 150 points : These can fly everything except the Andromada and AT-400, and military planes and helicopters (hydra/hunter) and flying with the shamal will be x1.5 the amount of money a student pilot earns\n\nA Commercial pilot is 250 points : These can fly everything except the military planes and helicopters (hydra/hunter)\n\nArmy pilots is 500 points : These can fly everything\nIn an airline, all airplanes of the airline can be used not matter what \"level\" you are.',false,GUIEditor_Window[2]) GUIEditor_Label[1] = guiCreateLabel(270,398,94,46,"",false,GUIEditor_Window[2]) GUIEditor_Button[1] = guiCreateButton(280,401,194,92,"Lets get to Work Pilot!",false,GUIEditor_Window[2]) button = guiCreateButton(280,401,194,92,"Lets get to Work Pilot!",true ) addEventHandler('onClientGUIClick', button, function () setElementPosition ( source, 1679.3029785156, 1446.3712158203, 11.043098449707 ) end )
  17. Thats not true there are many people our there that want to help servers.
  18. Do i put the coords where it says button?
  19. Hi My name is Robbster CEO of CMG I am here to let the MTA Community know we need to expand our Development team! Our Current Developers are -Robbster -Greenie -Samer These are our Scriptor's, and we need to expand to make our Community Even more Awesome! Our Game mode is truly Awesome, It's Originality and Uniqueness truly puts it in front of other servers. Its based on Civil War, 3 States LV, LS and SF Each Citizen is called up to duty and put on the front line, Every Soldier has unlimited supplies to cars and Aircraft, but Guns are Limited and Cost In game Money. Full of Action Packed Game play CMG strives to be the best war gamemode out there. Here is our release trailer which was released a few months ago I hope you liked it, From the release we have gained many players and many more scripts. We at CMG have extremely happy players who have fun even with a few players on and that is what makes us In my opinion one of the best servers out there. Our Current Peak is 18 and we are constantly increasing that Here is a link to our information Thread viewtopic.php?f=115&t=47425 We have a Professional Paid host showing our true commitment to the server, Guaranteed a 100% Up time We are not willing to pay unless your script are truly SUPER AWESOME And you making those scripts get us donations then we will pay you. Thanks for reading PM me or Reply Here or Add me on Skype : robbster98 Regards, Robbster CMG CEO
×
×
  • Create New...