Jump to content

donis123

Members
  • Posts

    24
  • Joined

  • Last visited

Details

  • Gang
    The Kings

donis123's Achievements

Civilian

Civilian (7/54)

0

Reputation

  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!
×
×
  • Create New...