Jump to content

Baseplate

Members
  • Posts

    1,417
  • Joined

  • Last visited

Everything posted by Baseplate

  1. Baseplate

    Lua help

    We told you one hundred times, Learn ON WIKI!
  2. MTA Dosen't support replaced anims, sorry
  3. addEvent addEventHandler triggerEvent
  4. Is there any way to script a command which makes you change your seat without getting out and in the car.
  5. Meh, as usual I was dreaming I was fucking a girl
  6. Lolz, I failed a bit Thanks mate!
  7. well, I tried to make if someone respawned, he just gets invisible for some 5 secs then he gets back to normal, Code here addEventHandler("onPlayerSpawn", root, function () local alpha = setElementAlpha(source, 0) setTimer(alpha, 5000, 1) end)
  8. And pretty much sure you can post even more Rasta. cause just 2 words won't really attract anyone
  9. addEventHandler ( "onPlayerDamage", root, function ( attacker, weapon, bodypart, loss ) if ( weapon == 24 ) then killPed ( source, attacker, weapon ) end end )
  10. And what will make us trust YOU?
  11. And why did you go mad, just ask politely... Here's the answer: he puted it in a map resource + the event handler wasn't really the one should be used in race gamemode
  12. Problem has been solved on Skype.
  13. Well, on race you don't enter a vehicle, you just get spawned in it so, function handling ( ) if ( getElementModel ( source ) == 541 ) then setVehicleHandling ( source, "handlingFlags", 0x284020 ) end end addEventHandler ( "onResourceStart", resourceRoot, handling )
  14. addEventHandler ("onResourceStart", function(), local veh = getPedOccupiedVehicle(source) if (veh == 411) or (veh == 495) then setVehicleDamageProof(veh, true) else setVehicleDamageProof(veh, false) end end) 2nd- it's setPlayerBlurLevel setPlayerBlurLevel ( source, 0)
  15. Still, that won't make any error or problem. so your post was useless
  16. Just really, wtf have you done, on topic, check back the last code
  17. He said that his company sucks to delux-host.net mate, just ignore delux-host.net Just good luck
  18. GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} mainGUI = guiCreateWindow(147,141,749,548,"The Aviator Spawn Panel by Robbster",false) guiSetVisible ( mainGUI, 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,mainGUI) GUIEditor_Label[2] = guiCreateLabel(270,398,94,46,"",false,mainGUI) pilotButton = guiCreateButton(280,401,194,92,"Lets get to Work Pilot!",false,mainGUI) local localPlayer = getLocalPlayer ( ) local spawnmarker = createMarker ( 1969.9000244141, -1517.8000488281, 970.79998779297 , "cylinder", 2, 9, 30, 213, 255 ) function MarkerHit ( hitPlayer, matchingDimension ) if getElementType(hitElement) == "player" and hitElement == localPlayer then guiSetVisible ( mainGUI, true ) showCursor ( true ) end end addEventHandler ( "onClientMarkerHit", spawnmarker, MarkerHit ) function pilotChange() if (source == pilotButton) then setElementPosition ( localPlayer, 1679.3029785156, 1446.3712158203, 11.043098449707 ) guiSetVisible ( mainGUI, false ) --hides GUI showCursor ( false ) --hides cursor end end addEventHandler("onClientGUIClick", getResourceRootElement(getThisResource()), pilotChange)
  19. Infinate, I saw people from Norway who have an extra terrible internet
  20. A:Back on topic folks! Q:Eh, why meh pic isn't there on my signature!!
  21. Yup better, I had a router once and I pretty much could manage myself on it, now I'm on mobile broadband and can't do anything on it.
×
×
  • Create New...