Jump to content

VariableAgaa

Members
  • Posts

    9
  • Joined

  • Last visited

Details

  • Gang
    GroveStreetFamilies

VariableAgaa's Achievements

Newbie

Newbie (4/54)

0

Reputation

  1. My Script is not for GUI, it's for using commands in chat. So I think first it has to create a GUI on the client-side and then it should create buttons, but yeah, you're right i have to learn first
  2. Okay, but what do I have to write in the script? function LosSantos (thePlayer) "onClientGUIClick" triggerServerEvent setElementInterior ( thePlayer, 0, 2496.23, -1688.27, 14.70 ) setElementPosition ( thePlayer, 2496.23, -1688.27, 14.70 ) outputChatBox ( "TP: ".. getPlayerName(thePlayer) .. ": Teleported to Los Santos with /LosSantos | Teleportierte sich nach Los Santos mit /LosSantos", root, 0, 255, 0 ) end addCommandHandler ( "LosSantos", LosSantos ) addCommandHandler ( "losSantos", LosSantos ) addCommandHandler ( "Lossantos", LosSantos ) addCommandHandler ( "lossantos", LosSantos ) What do i have to add?
  3. What should I do with "onClientGUIClick" and triggerServerEvent, sorry but I don't understand that part.
  4. Yeah, but I don't know how to put that all together.
  5. Hey Guys, my Question ist how to script a GUI? Because i want to add that when you press 'F4' it should open a Window where you can choose between some places and than there should be a butten which teleportes you when you press it. Does somebody know how it works? The script which I have made til now only can teleport you with a command in the chat. It works but I would prefer a solution with a GUI and the wiki couldn't help me. That's my solution without a GUI: function LosSantos (thePlayer) setElementInterior ( thePlayer, 0, 2496.23, -1688.27, 14.70 ) setElementPosition ( thePlayer, 2496.23, -1688.27, 14.70 ) outputChatBox ( "TP: ".. getPlayerName(thePlayer) .. ": Teleported to Los Santos with /LosSantos | Teleportierte sich nach Los Santos mit /LosSantos", root, 0, 255, 0 ) end addCommandHandler ( "LosSantos", LosSantos ) addCommandHandler ( "losSantos", LosSantos ) addCommandHandler ( "Lossantos", LosSantos ) addCommandHandler ( "lossantos", LosSantos ) function SanFierro (thePlayer) setElementInterior ( thePlayer, 0, -2421.39965, -624.4323, 132.66188 ) setElementPosition ( thePlayer, -2421.39965, -624.4323, 132.66188 ) outputChatBox ( "TP: ".. getPlayerName(thePlayer) .. ": Teleported to San Fierro with /SanFierro | Teleportierte sich nach San Fierro mit /SanFierro", root, 0, 255, 0 ) end addCommandHandler ( "SanFierro", SanFierro ) addCommandHandler ( "sanFierro", SanFierro ) addCommandHandler ( "Sanfierro", SanFierro ) addCommandHandler ( "sanfierro", SanFierro ) function LasVenturas (thePlayer) setElementInterior ( thePlayer, 0, 1999.54, 1544.04, 13.88 ) setElementPosition ( thePlayer, 1999.54, 1544.04, 13.88 ) outputChatBox ( "TP: ".. getPlayerName(thePlayer) .. ": Teleported to Las Venturas with /LasVenturas | Teleportierte sich nach Las Venturas mit /LasVenturas", root, 0, 255, 0 ) end addCommandHandler ( "LasVenturas", LasVenturas ) addCommandHandler ( "Lasventuras", LasVenturas ) addCommandHandler ( "lasVenturas", LasVenturas ) addCommandHandler ( "lasventuras", LasVenturas ) function Ranch (thePlayer) setElementInterior ( thePlayer, 0, -683.5206, 952.4695, 12.1328 ) setElementPosition ( thePlayer, -683.5206, 952.4695, 12.1328 ) outputChatBox ( "TP: ".. getPlayerName(thePlayer) .. ": Teleported to the Ranch with /Ranch | Teleportierte sich zur Ranch mit /Ranch", root, 0, 255, 0 ) end addCommandHandler ( "Ranch", Ranch ) addCommandHandler ( "ranch", Ranch ) Thank you for your possibilities in advance.
  6. Bilder kommen bald. Und noch mal: Wir suchen noch tatkräftige Hilfskräfte! Wer lust hat kann sich bei mir melden.
  7. Cool, also ich hab dir ein Abo dagelassen. Wenn du möchtest kannst du ja auch mal meinen Server Let's Playen. Hier meine Servervorstellung: viewtopic.php?f=121&t=57873
  8. Hallo liebe Community, ich wollte jetzt einfach mal den Server vorstellen, den ich mit einem Freund erstellt habe. Es ist ein Play- bzw. Freeroam-Server, im Moment läuft er noch über Hamachi, später wollen wir aber einen Mieten und dann wird sich auch die Server-IP ändern. Wie ihr beitreten könnt steht weiter unten, jetzt kommen aber erst mal details zum Server. Der Server Auf dem Server ist "freies Spiel" angesagt, ihr könnt also machen was ihr wollt. Das allerdings nicht nur in der Standard-Map aus dem Single-Player, denn wir editieren die Map und fügen Stuntparks, Parkours und vieles mehr ein. An Plug-Ins fehlt es auf unserem Server auch nicht. Denn auf unserem Server laufen Peds und fahren Fahrzeuge herum, außerdem haben wir ein Plug-In zur Geschwindigkeitsanzeige im Fahrzeug. Ein weiteres Extra auf unsererem Server ist, dass man wenn man sich auf ein Fahrzeug stellt und "X" drückt auf dem Fahrzeug fest klebt und so z.B. ein "Drive-By" machen kann. Und das ist noch nicht alles, am besten einfach mal den Server besuchen. Dem Server beitreten 1. Einem unserer Hamachi-Netzwerke beitreten. - FZFC_DJFG - FZFC_DJFG2 - FZFC_DJFG3 - FZFC_DJFG4 - FZFC_DJFG5 - FZFC_DJFG6 - FZFC_DJFG7 - FZFC_DJFG8 - FZFC_DJFG9 - FZFC_DJFG10 - DJFG_FZFC - DJFG_FZFC2 - DJFG_FZFC3 - DJFG_FZFC4 - DJFG_FZFC5 - DJFG_FZFC6 - DJFG_FZFC7 - DJFG_FZFC8 - DJFG_FZFC9 - DJFG_FZFC10 Das Feld "Passwort" frei lassen. 2. In "Multi Theft Auto: San Andreas"im "Serverbrowser" diese IP eingeben: 25.238.231.86:22001 Videos In den folgenden Videos sieht man wie die Map nach der bearbeitung aussieht. Nur so als Beispiel. Video Nr. 1 Video Nr. 2 Links Unsere Website: http://fzfc-djfg-entertainment.de.tl/Home.htm Unser YouTube-Channel: https://www.youtube.com/user/FZFCandDJFG Wir auf Facebook: https://www.facebook.com/FunZentraleFunCentralDJFlorentgahiDE WICHTIG: Wir suchen noch Leute die spaß daran haben die Map zu editieren und/oder zu scripten und uns helfen würden! Darüber würden wir uns sehr freuen und bei Interesse einfach hier kommentieren, auf unserer Website unter "Kontakt" oder auf YouTube bzw. Facebook via Privatnachticht. Ich hoffe euch gefällt das was ich euch jetzt präsentiert hab und viele Grüße VariableAgaa.
×
×
  • Create New...