Jump to content

GerardWay

Members
  • Posts

    284
  • Joined

  • Last visited

Everything posted by GerardWay

  1. I think BereeNemepart was being sarcastic guys
  2. Still nothin' EDIT: Its working fine now! Thanks so much! Could you please add a section of the script that makes the panel only openable for people in the "V.I.P" Team mate?
  3. forumc.lua: addEventHandler("onClientResourceStart", resourceRoot, GUIEditor.window[1] = guiCreateWindow(0, 274, 331, 493, "V.I.P Panel", false ) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetVisible( GUIEditor.window[1], false ) Turismo = guiCreateButton(17, 80, 130, 59, "Give Turismo", false, GUIEditor.window[1]) Hydra = guiCreateButton(173, 80, 132, 57, "Give Hydra", false, GUIEditor.window[1]) Chainsaw = guiCreateButton(17, 176, 127, 58, "Give Chainsaw", false, GUIEditor.window[1]) RPG = guiCreateButton(163, 176, 138, 53, "Give RPG x20", false, GUIEditor.window[1]) EnableGodmode = guiCreateButton(10, 268, 129, 54, "Enable Godmode", false, GUIEditor.window[1]) DisableGodmode = guiCreateButton(162, 268, 126, 49, "Disable Godmode", false, GUIEditor.window[1]) NRG500 = guiCreateButton(12, 348, 124, 53, "Give NRG-500", false, GUIEditor.window[1]) Close = guiCreateButton(162, 352, 121, 49, "Close Panel", false, GUIEditor.window[1]) showCursor( false ) GUIEditor = { button = {}, window = {}, } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(0, 274, 331, 493, "V.I.P Panel", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetVisible( GUIEditor.window[1], false ) Turismo = guiCreateButton(17, 80, 130, 59, "Give Turismo", false, GUIEditor.window[1]) Hydra = guiCreateButton(173, 80, 132, 57, "Give Hydra", false, GUIEditor.window[1]) Chainsaw = guiCreateButton(17, 176, 127, 58, "Give Chainsaw", false, GUIEditor.window[1]) RPG = guiCreateButton(163, 176, 138, 53, "Give RPG x20", false, GUIEditor.window[1]) EnableGodmode = guiCreateButton(10, 268, 129, 54, "Enable Godmode", false, GUIEditor.window[1]) DisableGodmode = guiCreateButton(162, 268, 126, 49, "Disable Godmode", false, GUIEditor.window[1]) NRG500 = guiCreateButton(12, 348, 124, 53, "Give NRG-500", false, GUIEditor.window[1]) Close = guiCreateButton(162, 352, 121, 49, "Close Panel", false, GUIEditor.window[1]) showCursor( false ) function buyCar(thePlayer) triggerServerEvent ( "buyVeh", getLocalPlayer(), "greetingHandler" ) end ) addEventHandler("onClientGUIClick", root, function() if source == Turismo then triggerServerEvent("Turismo", localPlayer) elseif source == Hydra then triggerServerEvent("Hydra", localPlayer) elseif source == Chainsaw then triggerServerEvent("Chainsaw", localPlayer) elseif source == RPG then triggerServerEvent("RPG", localPlayer) elseif source == NRG500 then triggerServerEvent("NRG500", localPlayer) elseif source == Close then guiSetVisible(GUIEditor.window[1], false) showCursor(false) end end ) function showit ( ) guiSetVisible( GUIEditor.window[1], true ) showCursor( true ) end addCommandHandler( "ovp", showit ) forums.lua: addEvent( "Turismo", true) addEventHandler( "Turismo", root, function() x, y, z = getElementPosition ( source ) Vehicle = createVehicle ( 451, x, y, z + 2) warpPedIntoVehicle ( source, Vehicle ) end ) addEvent( "Hydra", true) addEventHandler( "Hydra", root, function() x, y, z = getElementPosition ( source ) Vehicle = createVehicle ( 520, x, y, z + 2) warpPedIntoVehicle ( source, Vehicle ) end ) addEvent( "NRG500", true) addEventHandler( "NRG500", root, function() x, y, z = getElementPosition ( source ) Vehicle = createVehicle ( 522, x, y, z + 2) warpPedIntoVehicle ( source, Vehicle ) end ) addEvent( "RPG", true) addEventHandler( "RPG", root, function() giveWeapon( root, 35, 1, true ) end ) addEvent( "Chainsaw", true) addEventHandler( "Chainsaw", root, function() giveWeapon( root, 9, 1, true ) end )
  4. Well Lloyd Logan can you provide me with the Meta you are currently using for it please? And thanks Castillo, will try that in a sec
  5. Still not freakin working O_O
  6. DeluxHost do cheap SMS paid hosting.
  7. addCommandHandler("ovp", Panel, guiSetVisible(Panel, true) I added that and it didnt work
  8. The panel isnt even showing now, im guessing that maybe it could be a problem with "GUISetvisible" ?
  9. Man I still dont get it Can you give an example? please
  10. I have just created a V.I.P Panel using the GUI Editor, and I was wondering if anyone could give me an example of how to make one of the functions work, like how I would make the player recieve a hydra when they click a Button on the panel named "Give Hydra". Any help would be great thanks! Code: GUIEditor = { button = {}, window = {}, } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(0, 274, 331, 493, "V.I.P Panel", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) Turismo = guiCreateButton(17, 80, 130, 59, "Give Turismo", false, GUIEditor.window[1]) Hydra = guiCreateButton(173, 80, 132, 57, "Give Hydra", false, GUIEditor.window[1]) Chainsaw = guiCreateButton(17, 176, 127, 58, "Give Chainsaw", false, GUIEditor.window[1]) RPG = guiCreateButton(163, 176, 138, 53, "Give RPG x20", false, GUIEditor.window[1]) EnableGodmode = guiCreateButton(10, 268, 129, 54, "Enable Godmode", false, GUIEditor.window[1]) DisableGodmode = guiCreateButton(162, 268, 126, 49, "Disable Godmode", false, GUIEditor.window[1]) NRG-500 = guiCreateButton(12, 348, 124, 53, "Give NRG-500", false, GUIEditor.window[1]) Close = guiCreateButton(162, 352, 121, 49, "Close Panel", false, GUIEditor.window[1]) end )
  11. I guess it was an easy thought.
  12. They are totally different, one is regarding a website. The other is regarding scripts.
  13. https://community.multitheftauto.com/index.php?p= ... ls&id=6344 Providing Single Player hacking tools on the Community website. DONE
  14. Not multiple topics, the other topic is the website link with this on.
  15. Make sure you added the resource to the "Admin" ACL Group, So it can save the money in a database.
  16. Hey All! Ive just finished creating a website for my basic scripts, and I know that scripters find them easy to make, but these scripts are for people who dont know how to script. If you want to buy a script, then click the Redirection Link on the forum, enter the script price and then pay it to my Paypal (My paypal automatically appears when you click the redirection link). PAYPAL OR CREDIT/DEBIT CARD REQUIRED TO PAY! After paying for a script, Add me on Skype: teambarrelgaming or Facebook: http://www.facebook.com/newcastlepolice And send me a message with the: Resource/Script Name you bought How much you paid Proof of purchase Thank you. http://www.mtaheaven.tk
  17. Thanks Samer bro, I havent scripted in a while and my mind has went blank T.T Come on facebook?
  18. Hello everyone:) Today I would like to speak to you about a brand new Zombie Apocalypse server that I am developing! Zombie Apocalypse: Dropshot HQ Administrators: Apocalypse>Atlas, Apocalypse>Nova, Apocalypse>Robbster. Owner: Apocalypse>Atlas Co - Owner: Apocalypse>Nova Scripters : Apocalypse>Atlas and Apocalypse>Robbster Mapper : (Mappers Needed!) Full Admins: Apocalypse>Atlas, Apocalypse>Nova, Apocalypse>Robbster Moderators: Apocalypse>Pure (Moderators Needed!) Zombie Apocalypse is a server full of undead killers that roam San Andreas in need of someone to kill. However, at Zombie Apocalypse: Dropshot we work together to get rid of the Undead around us. with advanced Weapon and Vehicle systems, Helpful Staff, Great Scripts and Resources, report system, Single Player features, Rewards for killing Zombies, Mods, Anti-Zombie zones, bases, gangs, A forum, teamwork and Even More, We CANT be stopped! So why not pay us a visit? You can find the server on the IP Address: 92.234.116.97 And Server Port: 22004 Thanks for reading and I hope to see you soon! Skype: teambarrelgaming facebook: www.facebook.com/newcastlepolice email: [email protected] Server Name: "Zombie Apocalypse: Dropshot! Version 2.0
  19. Can anyone give me an example of how I could create a marker at the coordinates 1548.69153, -1364.26526, 326.21829 and when they enter the marker, it teleports them to the coordinates 201.84119, 1867.46252, 13.1406 please? Any help is massively appreciated!
  20. My Server Version and Client version is: 1.3.1 (Sorry for Double-Posting, Edit button is glitched for me)
  21. Hello Everyone:) I was wondering if somebody could give me some help on these problems: How can I make the zombies walk around randomly instead of going after the player in this resource? https://community.multitheftauto.com/index.php?p= ... ils&id=347 Any help is appreciated:) Thank You -- Apocalypse>Atlas
  22. GerardWay

    warp bot

    [color=#FFBF00]function warpPedIntoVehicle ( )[/color][color=#FF0000] -- Sets the function.[/color] [color=#0000FF]local Ped[/color] [color=#FF0000]= createPed[/color] [color=#0000FF]( 252, 0, 0, 5 )[/color] [color=#FF0000]-- Creates A Ped at the Coordinates "0, 0, 5".[/color] [color=#0000FF]local Vehicle[/color] = [color=#FF0000]createVehicle[/color] [color=#80FF00]( 411, 10, 10, 5 )[/color] [color=#FF00CC]-- Creates A Vehicle at the Coordinates "10, 10, 5". [/color] [color=#0000FF]warpPedIntoVehicle[/color] ( [color=#FF00CC]Ped[/color][color=#00FF00], Vehicle[/color] ) [color=#FF0000] -- Warps the Ped created with "createPed" into The Vehicle that was created with "createVehicle".[/color] [color=#4080FF]end[/color] [color=#FF0000]addCommandHandler[/color] ([color=#00FFFF] "pedwarp"[/color], [color=#0040FF]warpPedIntoVehicle[/color] ) [color=#FF0000]-- Creates a command that will Warp the Ped into the Vehicle when the Player types "/pedwarp".[/color]
  23. I am selling basic scripts for a reasonable price! I might do more advanced scripts soon but for now I am only selling Basic because I make advanced scripts for my own server:) Example of some scripts I can do that are basic: Blip Scripts Spawnpoint Script Chatbox Messages (For example, with the command "output" I could make a script that would output this text to the chatbox: "Welcome to this server!" or any other message.) Vehicles Locked Vehicles to certain groups (Thanks to Castillo / SolidSnake14 Mod scripts (Scripts that will allow mods to be added for the whole server!) Suicide Script Event Cancelling (Example: I can stop explosives from exploding by cancelling the event with a script) Login Script (With your server logo) Ban script (A script that can ban a player with any chosen command) Kick Script (A script that can Kick a player with any chosen command) Headless Script (Remove the players head but they wont die) Ped Script (I can create a Ped at any location and can also give it an animation) Money Script (Lets admins give All Players in the game a certain amount of money with 1 command) Payday Script (Gives the player a certain amount of money after a chosen amount of time) Music/Sound Scripts (I can create a script that makes music or a sound play at any place in San Andreas from an MP3 file) And a lot more! If you want me to create another basic script, then just contact me and ask and I may do it for you! If you are interested in any of these scripts or maybe a different script, contact me on Skype: teambarrelgaming or facebook: http://www.facebook.com/newcastlepolice Thank you. P.S: I would be happy to show you the script working on my test server if you want to!
×
×
  • Create New...