-
Posts
7,337 -
Joined
-
Days Won
11
Everything posted by TAPL
-
https://wiki.multitheftauto.com/wiki/OnPlayerDamage It should also be noted that canceling this event has no effect. Cancel the client-side event onClientPlayerDamage instead.
-
Then why you use this resource if you don't want it
-
I didn't get how you want it to work.
-
أنت تبي تكحلها عميتها حطيت الأند بالأخير الحين صار الأفنت يتكرر على عدد الليبلات في الكود
-
للسطر ذا end كودك ناقص for i,lal in ipairs(GUIEditor_Label) do
-
--server side local serials = { {Serial = "السيريال هنا", Output = "الكلام هنا"}, {Serial = "السيريال هنا", Output = "الكلام هنا"}, {Serial = "السيريال هنا", Output = "الكلام هنا"} } addEventHandler("onPlayerJoin", root, function() for i=1, #serials do if serials[i]["Serial"] == getPlayerSerial(source) then outputChatBox(serials[i]["Output"], root, 0, 255, 0, true) break end end end)
-
https://wiki.multitheftauto.com/wiki/CreateColSphere https://wiki.multitheftauto.com/wiki/OnColShapeHit https://wiki.multitheftauto.com/wiki/OnColShapeLeave
-
http://bugs.multitheftauto.com/view.php?id=6586 This bug occur with big markers, as i see you're using size "20", because of this the col shape doesn't match the visual.
-
1- حط كودك 2- https://forum.multitheftauto.com/viewtopic.php?f=160&t=54010
-
-- server side addEventHandler("onPlayerJoin", root, function() if getPlayerSerial(source) == "حط السريال هنا" then outputChatBox("الكلام هنا", root, 0, 255, 0, true) elseif getPlayerSerial(source) == "حط السريال هنا" then outputChatBox("الكلام هنا", root, 0, 255, 0, true) end end) --server side local serials = { ["السريال"] = true, ["السريال"] = true } addEventHandler("onPlayerJoin", root, function() if serials[getPlayerSerial(source)] then outputChatBox("الكلام هنا", root, 0, 255, 0, true) end end)
-
getVehicleOccupants respawnVehicle
-
-- Server Side addEventHandler ( "onResourceStart", resourceRoot, function ( ) for _, v in ipairs ( getElementsByType ( "player" ) ) do bindKey ( v, "F2", "down", givePermissions ) end end ) addEventHandler ( "onPlayerJoin", root, function ( ) bindKey ( source, "F2", "down", givePermissions ) end ) function givePermissions ( source ) local playerAccount = getAccountName ( getPlayerAccount ( source ) ) if playerAccount and not isGuestAccount ( playerAccount ) then if isObjectInACLGroup ( "user." .. playerAccount , aclGetGroup ("Police") ) then triggerClientEvent ( source, "wnd", source ) end end end
-
ههههههه ياخوي الشغله مهي كوبي بست https://wiki.multitheftauto.com/wiki/Scripting_Introduction
-
https://wiki.multitheftauto.com/wiki/OnClientGUIClick https://wiki.multitheftauto.com/wiki/SetElementPosition
-
You have a resource that cancel the event "onResourceStart" you have to take a looks at all of your resources, and remove it.
-
if Mz + Height >= Pz then ياخي السطر هذا ابيه يخش رأسي ومايبي يخش فيه غلط ؟؟ المفروض ينكتب كذا if Pz <= Mz + Height then مضيع الحبيب؟
-
The error is Identify itself here: [2013-02-07 12:41:56] MODULE: Unable to find modules/mta_mysql.dll! Nothing more we can help you with it, other than go by yourself and check that you have it in modules/mta_mysql.dll
-
جرب GuiM = createMarker(x, y, z, "checkpoint", size, 255, 255, 0, 255) Height = 10 -- الأرتفاع الي الماركر يفتح فيه النافذه addEventHandler("onClientMarkerHit", GuiM, function (hitPlayer) if hitPlayer == localPlayer and not isPedInVehicle(hitPlayer) then local _, _, Pz = getElementPosition(hitPlayer) local _, _, Mz = getElementPosition(source) if Mz + Height >= Pz then guiSetVisible(window, true) showCursor(true) guiSetInputEnabled(true) end end end) addEventHandler("onClientMarkerLeave", GuiM, function(leftPlayer) if leftPlayer == localPlayer and not isPedInVehicle(leftPlayer) then guiSetVisible(window, false) showCursor(false) guiSetInputEnabled(false) end end)
-
createMarker getElementType getElementModel killPed Event: "onMarkerHit"
