Jump to content

isa_Khamdan

Members
  • Posts

    484
  • Joined

  • Last visited

Everything posted by isa_Khamdan

  1. MTA Community Link: https://community.multitheftauto.com/ind ... s&id=11136 *Please test it before you give a rate or feedback. ______________________________________________________ Hello there This script was origanly made for Arab's Turbo server but since that the server is no longer active I decided to release it to public but it will be compiled for now to save author rights and maybe later I may upload the uncomplied verison of this script. VIP system was a premium feature on my server ( 2.5 USD for 7 days of use ) and of course I made hundreds of dollars from this script but after a while I couldn't find time to mange a server while I am studying at the university so I decided to close the server and now I am releasing the scripts that I have made to public so that people can get benfit of them. Now let's have some talk about the script, The script was used for a freeroam server and it offers a great designed gui panel with some great features as you see below in the pictures. Features: _________________ [#] User friendly GUI panel [#] Cool and simple GUI design [#] Ability to set the player stats to maximum. [#] Ability to set the player health to 100%. [#] Ability to set the player armor to 100%. [#] Ability to change the weather. ( Client Side ) [#] Ability to change the time. ( Client Side ) [#] Ability to change the player fighting style. [#] Ability to spawn private vehicle ( Damage proof ) that can only be used by it's owner and if anyone try to enter it while it's locked he will get a message and of course there are some cool additions for the private vehicle like random colors, attaching arrow on the top of it, attaching smoke to it ( smoke will only work at high speed 120+ ), adding nitros upgrade and finally you can control the lights, engine and the lock of the car. ( The vehicle will be destroyed automatically on player logout ) Pictures: _________________ Main Window [ Active ] Main Window [ Not Active ] Output messages for VIP vehicles To open the panel press 'Z' Note: you must be in ACL group named 'VIP" to have access to the panel. ** For Arabic version please download V1.0. If you have any question or you want to suggest/report anything please post a comment. Enjoy!
  2. Please delete this script I was trying to upload a new verison of my script and instead I uploaded a new one https://community.multitheftauto.com/ind ... s&id=11140 DONE
  3. Hello everyone I was trying to upload a new version of my script to the community and by mistake I uploaded it as a new script and i tried to delete it but I couldn't find an option to do that so do anyone here have an idea how to delete it from the community?
  4. Can you give me example please?
  5. Hello, I want to make a command that's add a user into a group named X and after X days the user will be removed from the group so for example let's say the command is X Player 7 then the player will be added to the group and get removed from it after 7 days. Ok so I know how to get real time but how can I make it remove the user after X days? I know how to set account data but I don't know what exactly I should set as account data. So can anyone help me to solve this problem?
  6. I don't have these in my config file but these resources still works automatically.
  7. How can I prevent these resources from starting automatically when the server start running?
  8. Thanks a lot I did it and I forget to edit my post
  9. and how can I unpack the numbers inside that table?
  10. that's the table Vehicles1 = { [1]={ 2902.6318359375, -2043.0684814453, 3.208420753479, 0, 0, 270 }, [2]={ 2902.5588378906, -2046.3167724609, 3.208420753479, 0, 0, 270 }, [3]={ 2902.4799804688, -2049.8156738281, 3.208420753479, 0, 0, 270 }, [4]={ 2902.4121093755, -2052.8154296875, 3.208420753479, 0, 0, 270 }, [5]={ 2902.3391113281, -2056.0654296875, 3.208420753479, 0, 0, 270 } }
  11. I have error in line 13 saying that expected table got nil while I do have a table named Vehicle1 and I checked it using outputChatBox so can anyone help me to solve it? addEventHandler("onPlayerChat",root, function (msg,type) if ( type == 0 and msg == "test" ) then if ( isStarted == true ) and ( readyPlayers < maxPlayers ) and not isPedInVehicle(source) and not getElementData(source, "inMissionD" ) == true then cancelEvent() readyPlayers = ( readyPlayers + 1 ) VarName = ("vehicle"..readyPlayers) setElementData(source, "inMissionD", true) VarX = ("Vehicles"..vMap) outputChatBox(VarX) local x, y, z, rx, ry, rz = unpack ( VarX [ readyPlayers ] ) VarName = createVehicle ( vID, x, y, z, rx, ry, rz ) table.insert(DVeh,VarName) warpPedIntoVehicle ( source, VarName) setElementData( source, "isBlocked", true, true) toStart() return end end end )
  12. If I set element data for a player on the serverside, can I get these data on the client side?
  13. I don't want names I want to know how many players within ColShape
  14. Can I use this function to count players within a colshape?
  15. Hello , I will try to explain my problem I have a Variable named x local x = 1 and another variable name Veh Veh = createVehicle ( 544, x, y, z, rx, ry, rz ) okay so my problem comes here I want to add x to the second Variable name so it will be Veh1 or Veh2 if x was 2.. etc for example local x = 1 Veh(x here) = createVehicle ( 544, x, y, z, rx, ry, rz ) x = x+1 so is it possible to do this?
  16. Thanks a lot it's working
  17. Hello , I want to make a command like this ( Command Text ) so I made this function ( player, _, text ) it's working but the problem is that if the player type spaces between the text it will only take the first part before the space and ignore the rest so how can I solve this? Edit: i want it Just like the original " Say " command in MTA.
  18. Hello , I am wondering how can I add Timers to a table and how can I kill them all in one time? Example local Timers = {}
  19. No that's not correct. Try this function onLogout () setTimer ( kickPlayer , 8000 , 1 , source , "Prohibido dar logout!") end addEventHandler ("onPlayerLogout", getRootElement(), onLogout)
  20. isa_Khamdan

    help

    Did you try using destroyElement?
×
×
  • Create New...