Jump to content

Spakye

Members
  • Posts

    108
  • Joined

  • Last visited

  • Days Won

    2

Spakye last won the day on December 4 2023

Spakye had the most liked content!

2 Followers

Details

  • Gang
    [UVA]

Recent Profile Visitors

3,184 profile views

Spakye's Achievements

Sucka

Sucka (13/54)

33

Reputation

  1. Hello, you can use this https://wiki.multitheftauto.com/wiki/EngineRequestModel or use this resource that does it for you
  2. Spakye

    [HELP] Toptime

    Hello, please provide some more informations. This section is about helping each other to script, show what you have done so far and im sure someone will help you out!
  3. Hello, not sure if it will work but you can try to make it move when your bot is streamed in with onClientElementStreamIn or to make it always streamed with setElementStreamable.
  4. Hello, you need an event to trigger your function. You could use onPlayerDamage if your script is server side, or onClientPlayerDamage if its client side.
  5. Hello, you can encrypt your script so people cant read it. You can't avoid people downloading client side script since it runs on their pc. As far as i know its the only solution but i could be wrong
  6. Hello, could it be that the car explosion count as a player killing himself (suicide)? so then it print the suicide message and then the other one? maybe change the suicide message so they are not identical.
  7. Hello, you need to use toJSON to turn the table into a string to be able to save it, and then use fromJSON to turn it back into a table when you need to use it.
  8. Hello, I will try to give you some step by step indications on how you can do it rather than give you ready to use code. Client side, try to create a windows with guiCreateWindow() Try to make it appear and disappear with guiSetVisible(), you did not specify how and when you want the window to appear so i can only recommend trying with a commandHandler for now. You can easily replace it later on. Try to add a button to the window with guiCreateButton() and to attach it to a function with addEventHandler("onClientGUIClick", yourButton, youFunction) Try to make an easy function that output some text at first with outputChatBox() At that point you should be able to show the window, close the window, and print a message by clicking the button. Server Side, make a simple function that print some text like "server received the trigger", create an event with addEvent(), and add an event handler that calls the function you just made when the event is triggered. Back to client side try to add a server event trigger with triggerServerEvent() that will trigger the event you just created. If it works and you see your message sent from server side you have done the hardest part. Now you will do the same thing but in the other way. Create an event client side, trigger it from the server with triggerClientEvent(), make a function that shows your picture with guiCreateStaticImage(), hide the picture with setTimer() Thats pretty much it, its not very well explained and detailed but i can help you out if you struggle with something specific later on. Please just give it a try
  9. Damn i struggle to believe this is actually mta sa Really good job it looks very nice! I hope your project works out well and im looking forward to try it!
  10. giveWeapon(player23,...) instead of Player23
  11. Hello, you wrote Player23 instead of player23
  12. Hello, check IIYAMA resources https://community.multitheftauto.com/index.php?p=profile&id=285621 Project trains and Airplane. This resources add airplanes and trains going arround the map. Its not exactly what you want but it does bring some life to the gta map.
  13. hello can you share the code you have so far?
  14. Hello, use fadeCamera and spawnPlayer when a player joins. function spawnThePlayer() fadeCamera ( source, true) spawnPlayer ( source, 0, 0, 5) end addEventHandler ( "onPlayerJoin", root, spawnThePlayer )
×
×
  • Create New...