-
Posts
7,337 -
Joined
-
Days Won
11
Everything posted by TAPL
-
Stolen script. https://community.multitheftauto.com/index.php?p=resources&s=details&id=9396 DONE
-
كلينت local daire = createMarker(830.7391, -4736.0473, 100, "arrow", 2, 255, 255, 0, 0) setElementData(daire, "mText", "الذهاب إلى الدائري") addEventHandler("onClientMarkerHit", daire, function(hitElement, matchingDimension) if hitElement == localPlayer and matchingDimension then setElementPosition(hitElement, 1814.6175, 859.6475, 10.6656) outputChatBox("تم نقلك إلى الدائري") end end)
-
ارقمنت الصور مافيه اي خطأ احتمال انك ما حطيت الصور بالميتا او انك حاط المسار حق الصور خطأ fadeCamera و بالنسبة حق setTimer(fadeCamera,2800,1,localPlayer,false) setTimer(fadeCamera,3600,1,localPlayer,true) بالكلينت ما يحتاج تحط لاعب setTimer(fadeCamera,2800,1,false) setTimer(fadeCamera,3600,1,true) و في الماتركس ليه حاط لوكل بلاير الفنكشن ما فيه ارقمنت لاعب اصلاً ._. setCameraMatrix(1793.1867675781,1860.5334472656,126.00825500488,1884.0717773438,1866.1247558594,84.672348022461,localPlayer)
-
You should know that the data sync may delay to arrive the other side because of the ping.
-
https://wiki.multitheftauto.com/wiki/SetElementData bool setElementData ( element theElement, string key, var value [, bool synchronize = true ] ) Set synchronize argument to false if you don't want the data to be synced. Player is always exist in both side, An example of element that does not exist in both side such as GUI only exist in client side.
-
The element data is synced with all clients and the server so each time you change it client side or server side the event 'onElementDataChange' and 'onClientElementDataChange' will get triggered unless the element doesn't exist on the other side or you choose to not sync the data, the event won't get triggered on the other side.
-
And what the debug say? Edit: Line 55 you re call the function again that's why you have infinite timer.
-
GUIEditor = { button = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(293, 136, 212, 330, "Cars Panel By Mr.Dz", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF5A5A") GUIEditor.button[1] = guiCreateButton(10, 79, 193, 46, "FBI Rancher", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF0623F7") GUIEditor.button[2] = guiCreateButton(10, 135, 193, 46, "Police [1]", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF0623F7") GUIEditor.button[3] = guiCreateButton(10, 188, 193, 46, "Police [2]", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF0623F7") GUIEditor.button[4] = guiCreateButton(10, 239, 193, 45, "Police [3]", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FF0623F7") GUIEditor.button[5] = guiCreateButton(10, 23, 193, 46, "Police Ranger", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FF0623F7") GUIEditor.button[6] = guiCreateButton(10, 289, 193, 31, "Close", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFB50000") local marker1 = createMarker(136.0, 1924.51, 19.167, "cylinder", 3, 30, 72, 6, 255) local marker2 = createMarker(2752.941, -1741.176, 0, "cylinder", 2, 0, 255, 0, 255) local marker3 = createMarker(2752.941, -1741.176, 0, "cylinder", 2, 0, 255, 0, 255) local marker4 = createMarker(2752.941, -1741.176, 0, "cylinder", 2, 0, 255, 0, 255) local marker5 = createMarker(2752.941, -1741.176, 0, "cylinder", 2, 0, 255, 0, 255) local marker6 = createMarker(2752.941, -1741.176, 0, "cylinder", 2, 0, 255, 0, 255) addEventHandler("onClientMarkerHit", root, function(hitPlayer) if (hitPlayer == localPlayer) then if (getPlayerTeam(hitPlayer) == getTeamFromName("Police")) and (getElementData(hitPlayer, "Group") == "[FBI]") then if source == marker1 or source == marker2 or source == marker3 or source == marker4 or source == marker5 or source == marker6 then guiSetVisible(GUIEditor.window[1], true) showCursor(true) end end end end) addEventHandler("onClientGUIClick", root, function() if (source == GUIEditor.button[1]) then triggerServerEvent("carGive", localPlayer, 490) elseif (source == GUIEditor.button[2]) then triggerServerEvent("carGive", localPlayer, 597) elseif (source == GUIEditor.button[3]) then triggerServerEvent("carGive", localPlayer, 598) elseif (source == GUIEditor.button[4]) then triggerServerEvent("carGive", localPlayer, 596) elseif (source == GUIEditor.button[5]) then triggerServerEvent("carGive", localPlayer, 599) elseif (source == GUIEditor.button[6]) then guiSetVisible(GUIEditor.window[1], false) showCursor(false) end end) vehicle = {} addEvent("carGive", true) addEventHandler("carGive", root, function(ID) if isElement(vehicle[source]) then destroyElement(vehicle[source]) end local x, y, z = getElementPosition(source) vehicle[source] = createVehicle(ID, x, y, z) warpPedIntoVehicle(source, vehicle[source]) end) addEventHandler("onPlayerQuit", root, function() if isElement(vehicle[source]) then destroyElement(vehicle[source]) vehicle[source] = nil end end) جرب و شوف إذا جاء اي خطأ بالدي بق
-
لي اكثر من 6 اشهر مع الأستضافة و كل شي تمام التمام لدرجة ان السيرفر شغال اكثر من شهرين بدون ريستارت بدون مشاكل اضافة إلى ان الدفع بالجوال رسالة وحده ب 10 ريال تضاف بحسابك 2.67 دولار يعني ما ياخذون فلوس زياده بالدفع بالجوال اضافة إلى رخص الأسعار مقارنة بديلوكس و غيرها ب دولارين 20 لاعب و الدعم الفني تلقيه بسكايب و إذا بتاخذ سيرفر خذ من رابطي http://sane-hosting.com/aff.php?aff=004
-
Thanks and I want the command/code to be /pizza oh i wonder if you too lazy to change the command? And wondering if it even worked lol.
-
bool addCommandHandler ( string commandName, function handlerFunction, [bool caseSensitive = true] ) I wonder why you put root here.
-
للأيديت و الأزرار parent حط الـصورة كـ
-
I'm not sure if this what you asking for. -- Server Side addEventHandler("onPlayerLogin", root, function(_, account) if not getAccountData(account, "FirstTime") then outputChatBox("You're playing for the first time!", source, 0, 255, 0) setAccountData(account, "FirstTime", true) else outputChatBox("This is not the first time for you!", source, 255, 0, 0) end end)
-
We don't give support with leaked scripts.
-
AccBans = { ["Account Name Here"] = true, ["Account Name Here"] = true, ["Account Name Here"] = true } addEventHandler("onPlayerLogin", root, function(_, account) local accountName = getAccountName(account) if AccBans[accountName] then banPlayer(source) end end)
-
It's not hard, it's just that you need to give it a try and understand how it works. Also tutorial is available across the forum and the internet for SQL syntax.
-
He's talking about my server which has 52 days Uptime lol. It's running on 1.3.5-r6121, what was the version it were fixed on?
