Jump to content

donis123

Members
  • Posts

    24
  • Joined

  • Last visited

Everything posted by donis123

  1. donis123

    Interior

    thanks bro very helpfull! ^^
  2. donis123

    Interior

    what do i write in it? ;S
  3. donis123

    Interior

    Hey. how do i make an Interior, so when i hit the marker i will be taken to the interior?
  4. donis123

    help ^^

    thanks you so much its works! ^^
  5. donis123

    help ^^

    Hi, i have a script with moving gate but it not working, and i cant find the problem ;/ local Gate = createObject ( 980, 1245.5, -767.40002441406, 93.800003051758, 0, 0, 0 ) local gateMarker = createMarker ( 1245.5999755859, -767.09997558594, 90.5, "cylinder", 10, 452, 152, 253, 523 ); local state = 0; addEventHandler("onMarkerHit", gateMarker, function ( hitElement ) local accName = getAccountName ( getPlayerAccount ( hitElement ) ) -- get his account name if isObjectInACLGroup ("User."..accName, aclGetGroup ( "Admin" ) ) then if ( state == 0 ) then moveObject ( Gate, 2500, 1245.5, -767.40002441406, 88.199996948242 ); state = 1; end else outputchatBox ( "You're not allowed to enter this area.", hitElement ); end end ); addEventHandler("onMarkerLeave", gateMarker, function ( hitElement ) local accName = getAccountName ( getPlayerAccount ( hitElement ) ) -- get his account name if isObjectInACLGroup ("User."..accName, aclGetGroup ( "Admin" ) ) then if ( state == 1 ) then moveObject ( Gate, 2500, 1245.5, -767.40002441406, 93.900001525879 ); state = 0; end else outputchatBox ( "You're not allowed to enter this area.", hitElement ); end end );
  6. donis123

    Job system

    okay man i can try! ty
  7. donis123

    Job system

    okay bro but can you fill in more stuff so i maby understand more of what to fill inn? im beginner ;(
  8. donis123

    Job system

    Hello, anyone of you know something about how to make criminal job and trucker osv? i wanna make some jobs i have made the spawns but not a job so now i want a job to so people can make some money! pleas help me! ^^
  9. pm me info server ID osv! how many script formats can you make? i just want the formats there i can fill in fks job spawn osv!
  10. That could be done, yeah. But why dont you just create a small system that checks the ElementData of the vehicle? Or save it into a SQLite server and retrieve the information. If you'd ask me I'd make it like this; - The player receives a car from an admin -- The car is being spawned -- The car's elementData is being set to his name (the player's name) -- Data is being saved into a SQLite database (including VehicleID, VehicleOwner) If you done that, you can respawn, repair and keep the progress of the car saved. It will be save and locked up in a database. So, how can you unlock and lock these car's you might ask. Well that's easy; - create a command; lock -- when the player triggers the command, make a loop through all the vehicle's --- when the vehicle's elementData (vehicleOwner) equals the name of the player ---- (un)lock the vehicle --- else, do nothing. the functions you need for this are; addCommandHandler dbConnect executeSQLQuery setElementData getElementData getElementsByType setElementPosition createVehicle yeah ;O im a beginner yes! X)
  11. yes and lock the car for him and if he want then for hes friends!
  12. Hey! i wanna make a script there a player on my server can come to me and tell me that he want a car and tell me what car and color osv and then i can place hes car on one of hes house and set a private lock to him and maby another players who he want and i realy dont find a lock like that can anyone make a format and a meta to me about that? What i need Meta format " all stuff inside meta? " Lua format " how to make it? (can you make it for me?)" thank you for your time of your life to help me with this!
  13. hmm okay but now its works but its a double gate now! X) hehe
  14. the gate wont open ;/ i use the command but still nothing can you take a look on the lua i posted upstairs on the site and see for any problems?
  15. haha i find out how to fix it now is works! thanks man! thanks for use your time to help me very happy now! ^^ i did just have to copy the text inside Lua and make a new Lua save file and paste the text with the name in Meta!
  16. still not working ;/ you have any idee of it?
  17. okay man i try do that! thanks for your help if it dont work i will tell you! ^^
  18. hmm get an error " couldnt find the Move.gate.lua " --create the gate local AdminGate = createObject ( 971, -504.7998046875, 2592.599609375, 56.200000762939, 0, 0, 90 ) local state = 0 --this is the state, if 0 gate closed if 1 it's open function move() if state == 0 then --it's closed so open it moveObject ( AdminGate, 2500, -504.79998779297, 2592.6000976563, 62.099998474121) --Time means how fast the object'ill be moved. state = state + 1 elseif state == 1 then --it's open so close it moveObject ( AdminGate, 2500, -504.7998046875, 2592.599609375, 56.200000762939,) state = state - 1 end end addCommandHandler("admin75", move )--this one creates a command "/gate" wich'll start the move function and the meta <meta> <info author="Don" name="AdminGate" version="1.0" type="script"/> <script src="move_gate.lua" type="server"/> </meta> what is the problem here? ;(
  19. Thank you so much for help!
  20. i will test this soon thanks guys!
  21. Hey! i wanna know more about moving gate script couz i ahve find some format there i set in my gate pos and all that stuff and try make a Meta but im not sure about how do i do a Meta to moving gates so here is a " list " off what i wanna know and maby you can make the formats to me and write something about how i do it? Do i need Meta? (and if how do i set it up can you do it for me and show me?) do the Meta do something that the Lua will not start or show some error when i start the (MTA server)? can you make a good and easy Moving Gate format to me so i can follow it and make my gate and make sure you write info about how to do it couz i dont know so much about it! ps: dont tell me to look at the forum couz i have been looking everywhere and try all Lua formats and nothing works! pleas take a time of you life to help me with this, this is my dream to start up a server i have just started all this stuff now and will be happy for one who can help me on the way up to a server! thanks aigen to all who help! ^^ btw if you dont have made one before and dont know that works pleas dont post it here ;/ i looking for one who know the Meta and Lua works couz i have used over 20 hours of my life to look and try and fail and yeah try make the moving gate and now im just tired and realy take this as my last opportunity to make it so aigen i will be very happy for some help! and when i say that i have used 20 hours then i mean it to Have a nice day
×
×
  • Create New...