NotAvailable
Members-
Posts
595 -
Joined
-
Last visited
Everything posted by NotAvailable
-
[REL] Stage 1.5.0 - virtual actors and camera workshop
NotAvailable replied to vovo4ka's topic in Resources
F1->weap in Freeroam menu. Aiming and fire from weapons are bugged in mta. Therefore use of weapons is very limited How i add it to Server? -
ok thanks
-
Hi, i got an Pay Script but i dont know which things i need to edit? (New to Scripting) Here it is: 1. x, y, z = getElementPosition(source) 2. stats = 0 3. 4. addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), 5. function() 6. setTimer(enterStuntZone, 2000, 0) 7. end 8. ) 9. 10. 11. function enterStuntZone() 12. if (getDistanceBetweenPoints3D ( x,y,z, xGate, yGate, zGate ) < 7 ) then -- xGate, yGa...... position of gate or airport terminal..... 13. if stats == 0 then 14. stats = 1 15. setTimer(setStats, 6000, 1) 16. if getPlayerMoney(source) > 500 then 17. setPlayerMoney(source, getPlayerMoney(source)-500) 18. --here function of gate 19. outputChatBox("Welcome to stunt zone!", source) 20. setTimer(setStats, 6000, 1) 21. else 22. outputChatBox("You havent money for enter stunt zone!", source) 23. end 24. end 25. else 26. --close gate function....... 27. end 28. end 29. 30. setStats() 31. stats = 0 32. end I know that very much people on this Community knows it. I would really appreciate it if you post an Reply.
-
[HELP] How do i use the Actor / Camera Resource?
NotAvailable replied to NotAvailable's topic in Support
Source https://forum.multitheftauto.com/viewtop ... 08&t=27006 I know that but how do i Use it? -
Looks like Venice
-
Instructions? sorry im enw to scripting
-
Hi, i downloaded the Actor / Camera resource in Resources but someone knows how i can use it? the Instructions on the Post doesnt say how to install / or to add it. Does someone know how to Activate / use it?
-
[REL] Stage 1.5.0 - virtual actors and camera workshop
NotAvailable replied to vovo4ka's topic in Resources
I downloaded it but where do i need to put the 2 files? -
Hi, im looking for an Jail script / or a Tutorial These things im Searching for: Jail command + Script i can make Jail myself I would really appreciate it if someone has a Script or a Solution
-
Hi, I made an Stunt zone (LS Airport) Why i ask help is because: I need a script (EXAMPLE) You pay 500$ at the Entrance of the LS Airport and the Gate opens for like 2 seconds And closes again. I really Appreciate it if someone has an Solution
-
[HELP] Looking for a gate that opens Script Codes
NotAvailable replied to NotAvailable's topic in Scripting
create myGate = createObject(myID, 1485.0126953125, -2474.8330078125, 15.328079223633, 0, 0, myROTATION) thanks! -
[HELP] Looking for a gate that opens Script Codes
NotAvailable replied to NotAvailable's topic in Scripting
hmm... i got no errors id changed but when i do the command: /openmodgate the gate does not move? Heres the code: function createTheGate () myGate = createObject ( object (airportgate) (1), 1485.0126953125, -2474.8330078125, 15.328079223633 ) -- This isnt ID end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate ) function openMyGate ( ) moveObject ( myGate, 3000, 1473.4616699219, -2475.0349121094, 15.328079223633 ) setTimer ( movingMyGateBack, 5000, 1 ) end addCommandHandler("openmodgate",openMyGate) function movingMyGateBack () moveObject ( myGate, 4000, 1485.0126953125, -2474.8330078125, 15.328079223633 ) end WTF? object (airportgate) (1) this is far away from ID! You need to put object ID into it EXAMPLE: <object id="object (ws_apgate) (1)" model="988" interior="0" dimension="0" posX="2304.0385742188" posY="-16.302129745483" posZ="25.484375" rotX="0" rotY="0" rotZ="90" /> -- in map file the ID is model so in this case 988 -- That is the ID! So it should be like myGate = createObject ( 988, 1485.0126953125, -2474.8330078125, 15.328079223633 ) -- this is right ID -- If i use object id 988 you can change that 988 to your own ID -- when i make a moving gate the rotation is the default one. you know how to fix the rotation. -
[HELP] Looking for a gate that opens Script Codes
NotAvailable replied to NotAvailable's topic in Scripting
hmm... i got no errors id changed but when i do the command: /openmodgate the gate does not move? Heres the code: function createTheGate () myGate = createObject ( object (airportgate) (1), 1485.0126953125, -2474.8330078125, 15.328079223633 ) -- This isnt ID end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate ) function openMyGate ( ) moveObject ( myGate, 3000, 1473.4616699219, -2475.0349121094, 15.328079223633 ) setTimer ( movingMyGateBack, 5000, 1 ) end addCommandHandler("openmodgate",openMyGate) function movingMyGateBack () moveObject ( myGate, 4000, 1485.0126953125, -2474.8330078125, 15.328079223633 ) end WTF? object (airportgate) (1) this is far away from ID! You need to put object ID into it EXAMPLE: <object id="object (ws_apgate) (1)" model="988" interior="0" dimension="0" posX="2304.0385742188" posY="-16.302129745483" posZ="25.484375" rotX="0" rotY="0" rotZ="90" /> -- in map file the ID is model so in this case 988 -- That is the ID! So it should be like myGate = createObject ( 988, 1485.0126953125, -2474.8330078125, 15.328079223633 ) -- this is right ID -- If i use object id 988 you can change that 988 to your own ID -- thankyou man im new to scripting -
[HELP] Looking for a gate that opens Script Codes
NotAvailable replied to NotAvailable's topic in Scripting
hmm... i got no errors id changed but when i do the command: /openmodgate the gate does not move? Heres the code: function createTheGate () myGate = createObject ( object (airportgate) (1), 1485.0126953125, -2474.8330078125, 15.328079223633 ) end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate ) function openMyGate ( ) moveObject ( myGate, 3000, 1473.4616699219, -2475.0349121094, 15.328079223633 ) setTimer ( movingMyGateBack, 5000, 1 ) end addCommandHandler("openmodgate",openMyGate) function movingMyGateBack () moveObject ( myGate, 4000, 1485.0126953125, -2474.8330078125, 15.328079223633 ) end -
[HELP] Looking for a gate that opens Script Codes
NotAvailable replied to NotAvailable's topic in Scripting
oh thanks -
here is my lua code: function createTheGate () myGate = createObject ( MyObjectID, 2490.4057617188, 1055.2071533203,58.293659210205 ) end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate ) function openMyGate ( ) moveObject ( myGate, 3000, 2490.1667480469, 1056.8166503906, 58.293659210205 ) setTimer ( movingMyGateBack, 5000, 1 ) end addCommandHandler("openmodgate",openMyGate) function movingMyGateBack () moveObject ( myGate, 3000, 2490.4140625, 1055.1296386719, 58.293659210205 ) end what is wrong?
-
[HELP] Looking for a gate that opens Script Codes
NotAvailable replied to NotAvailable's topic in Scripting
didnt work this is what i did: function createTheGate () myGate = createObject ( MyObjectID, 2490.4057617188, 1055.2071533203,58.293659210205 ) end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate ) function openMyGate ( ) moveObject ( myGate, 3000, 2490.1667480469, 1056.8166503906, 58.293659210205 ) setTimer ( movingMyGateBack, 5000, 1 ) end addCommandHandler("openmodgate",openMyGate) function movingMyGateBack () moveObject ( myGate, 3000, 2490.4140625, 1055.1296386719, 58.293659210205 ) end -
[HELP] Looking for a gate that opens Script Codes
NotAvailable replied to NotAvailable's topic in Scripting
Command like: /openmodgate -
Hi, i made an base with some gates ofcourse. And i got the MTASA script program but i need the Script for the moving gates i got the X Y Z coordinates already of the gates I only need the code. Does someone know it. I would really appreciate that.
-
Hi, im looking for an scripter for my MTA server. im making an Champions Area. Script needed for this: so that when you Log In you Automaticcaly spawn in the Champions Area. (IF YOU REACHED RANK CHAMPION)
