-
Posts
10,056 -
Joined
-
Last visited
-
Days Won
27
Everything posted by iPrestege
-
I dislike this suggestion! .
-
More weather functions to replace setWeather() and setTime()
iPrestege replied to DoctorInfinity's topic in Suggestions
+2 -
I'm with you on this suggestion because it is useful sometimes .
-
- الاحتمال الاول ولدها - الاحتمال الثاني ^ ولد اختها
-
No everything is fine now, thank you for your help
-
Apperentley it didn't work Are You Sure It,s Server Side ? and if it,s not working try this : function createThelift () mylift = createObject ( 3095, -2027.8459, 157.1302, 82.555, 0, 0, 0 ) end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createThelift ) function openMylift (player) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)), aclGetGroup( "Console")) then moveObject ( mylift, 8000, -2027.8459, 157.1302, 32.1, 0, 0, 0 ) end end addCommandHandler("liftdown",openMylift) function movingMyliftBack (player) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)), aclGetGroup( "Console")) then moveObject ( mylift, 8000, -2027.8459, 157.1302, 82.555, 0, 0, 0 ) end end addCommandHandler("liftup",movingMyliftBack) function createTheGate1 () myGate1 = createObject ( 980, -2016.75, 176.81, 29.47, 0, 0, 90 ) end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate1 ) function openMyGate1 (player) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)), aclGetGroup( "Console")) then moveObject ( myGate1, 3000, -2016.75, 165, 29.47, 0, 0, 0 ) end end addCommandHandler("opencorp",openMyGate1) function movingMyGateBack1 (player) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)), aclGetGroup( "Console")) then moveObject ( myGate1, 3000, -2016.75, 176.81, 29.47, 0, 0, 0 ) end end addCommandHandler("closecorp",movingMyGateBack1) and if it,s not working then what debugscript say ?
-
I've successfully installed all drivers! And here you are another pastebin maybe still there,s problem? http://pastebin.com/pdHAV8kk
-
Problem Solved Thank You Towncivilian .
-
Because he is beginner no problem to giving him full code . function createThelift () mylift = createObject ( 3095, -2027.8459, 157.1302, 82.555, 0, 0, 0 ) end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createThelift ) function openMylift (player) if (getElementType(player) == "player") then if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)), aclGetGroup( "Console")) then moveObject ( mylift, 8000, -2027.8459, 157.1302, 32.1, 0, 0, 0 ) end end end addCommandHandler("liftdown",openMylift) function movingMyliftBack (player) if (getElementType(player) == "player") then if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)), aclGetGroup( "Console")) then moveObject ( mylift, 8000, -2027.8459, 157.1302, 82.555, 0, 0, 0 ) end end end addCommandHandler("liftup",movingMyliftBack) function createTheGate1 () myGate1 = createObject ( 980, -2016.75, 176.81, 29.47, 0, 0, 90 ) end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate1 ) function openMyGate1 (player) if (getElementType(player) == "player") then if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)), aclGetGroup( "Console")) then moveObject ( myGate1, 3000, -2016.75, 165, 29.47, 0, 0, 0 ) end end end addCommandHandler("opencorp",openMyGate1) function movingMyGateBack1 (player) if (getElementType(player) == "player") then if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)), aclGetGroup( "Console")) then moveObject ( myGate1, 3000, -2016.75, 176.81, 29.47, 0, 0, 0 ) end end end addCommandHandler("closecorp",movingMyGateBack1)
-
حط الكود بشكل صحيح ما فهمتك تخبيص ×_× .
-
خرابيطط ذا وبعدين مفكوك ذا مايمشي
-
Are you sure this script for you? or stolen? and you are so bad in english i can,t understan you
-
العفو بالنسبة للملف الثاني تقدر تعدلة كذا : تلغي اي سطر فية مثل ذا ذذ .
-
it,s just , a simple example and he will know how i do it! and you zombie if you have any question ask me Np!.
-
المود مايشتغل عدلها من ملف mtaserver.conf هنا : -- Specifies resources that are loaded when the server starts and/or which are protected from being stopped. To specify several resources, add more parameter(s). --> "admin" startup="1" protected="0" /> "defaultstats" startup="1" protected="0" /> "helpmanager" startup="1" protected="0" /> "RRr" startup="1" protected="0" /> "mapcycler" startup="1" protected="0" /> "mapmanager" startup="1" protected="0" /> "parachute" startup="1" protected="0" /> "resourcebrowser" startup="1" protected="1" default="true" /> "resourcemanager" startup="1" protected="1" /> "scoreboard" startup="1" protected="0" /> "spawnmanager" startup="1" protected="0" /> "voice" startup="1" protected="0" /> "votemanager" startup="1" protected="0" /> -- play is the default freeroam gamemode. Remove the following line to prevent it from starting. --> "play" startup="1" protected="0" /> ومثال على كود الاغلاق : function Hide() if source == الزر then -- اذا كان الزر فـ آن guiSetVisible(النافذهـ, false) -- يخفي النافذهـ او يظهر false < اخفاء , true < اظهار showCursor(false) -- < هذا مسؤول عن اظهار المؤشر false مخفي , true ظاهر end -- الاند الاول تبع الفنكشن end -- الاند الثاني تبع اذا كان if addEventHandler("onClientGUIClick", getRootElement(), Hide) -- الحدث عند ضغط زر في الكلنت في اللوحة على فكرهـ دمكـ خفيف
-
This will be easier for him as a Beginner!
-
--Client Side-- GUIEditor = { button = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(0, 274, 331, 493, "V.I.P Panel", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) Turismo = guiCreateButton(17, 80, 130, 59, "Give Turismo", false, GUIEditor.window[1]) Hydra = guiCreateButton(173, 80, 132, 57, "Give Hydra", false, GUIEditor.window[1]) Chainsaw = guiCreateButton(17, 176, 127, 58, "Give Chainsaw", false, GUIEditor.window[1]) RPG = guiCreateButton(163, 176, 138, 53, "Give RPG x20", false, GUIEditor.window[1]) EnableGodmode = guiCreateButton(10, 268, 129, 54, "Enable Godmode", false, GUIEditor.window[1]) DisableGodmode = guiCreateButton(162, 268, 126, 49, "Disable Godmode", false, GUIEditor.window[1]) NRG-500 = guiCreateButton(12, 348, 124, 53, "Give NRG-500", false, GUIEditor.window[1]) Close = guiCreateButton(162, 352, 121, 49, "Close Panel", false, GUIEditor.window[1]) addEventHandler("onClientGUIClick", root, function() if source == Turismo then triggerServerEvent("Turismo", localPlayer) elseif source == Hydra then triggerServerEvent("Hydra", localPlayer) elseif source == Chainsaw then triggerServerEvent("Chainsaw", localPlayer) elseif source == NRG-500 then triggerServerEvent("NRG-500", localPlayer) elseif source == Close then guiSetVisible(GUIEditor.window[1], false) showCursor(false) end end ) --Server Side-- addEvent( "Turismo", true) addEventHandler( "Turismo", root, function() x,y,z = getElementPosition ( source ) Vehicle = createVehicle ( id, x, y, z + 2) warpPedIntoVehicle ( source, Vehicle ) end ) addEvent( "Hydra", true) addEventHandler( "Hydra", root, function() x,y,z = getElementPosition ( source ) Vehicle = createVehicle ( id, x, y, z + 2) warpPedIntoVehicle ( source, Vehicle ) end ) addEvent( "NRG-500", true) addEventHandler( "NRG-500", root, function() x,y,z = getElementPosition ( source ) Vehicle = createVehicle ( id, x, y, z + 2) warpPedIntoVehicle ( source, Vehicle ) end ) addEvent( "Chainsaw", true) addEventHandler( "Chainsaw", root, function() x,y,z = getElementPosition ( source ) Vehicle = createVehicle ( id, x, y, z + 2) warpPedIntoVehicle ( source, Vehicle ) end ) i Do The Vehicle Only the others i dont understand it realy! and the close button!Just Change the Vehicle id
-
عصابات = gang system يالخوي! ما نفهم من الباب للطاقة @ اطرح الكود او المود اللي تبي تعدلة ؟؟
-
--Gate mrkr = createMarker( -54.1416015625, -91.8134765625, 1010.182800293, "cylinder", 8, 0, 255, 0, 80) setElementInterior(mrkr,18) window = guiCreateWindow(471,334,337,268,"Jail",false) guiSetAlpha(window,1) guiSetVisible(window,false) guiWindowSetMovable(window,false) guiWindowSetSizable(window,false) lbl = guiCreateLabel(9,28,316,109,"Open\nGate?",false,window) guiLabelSetColor(lbl,255,0,0) guiLabelSetHorizontalAlign(lbl,"center",false) guiSetFont(lbl,"sa-header") btn_accpt = guiCreateButton(9,198,157,61,"Yes",false,window) btn_close = guiCreateButton(167,198,157,61,"No",false,window) function onhit() guiSetVisible(window,true) showCursor(true) end addEventHandler("onClientMarkerHit",mrkr,onhit) function close() guiSetVisible(window,false) showCursor(false,false) end addEventHandler("onClientGUIClick",btn_close,close) function accept() triggerServerEvent("jail.gate.open",localPlayer,localPlayer) outputChatBox("Jail: Main gate opening...",255,255,0) guiSetVisible(window,false) showCursor(false,false) end addEventHandler("onClientGUIClick",btn_accpt,accept)