-
Posts
7,337 -
Joined
-
Days Won
11
Everything posted by TAPL
-
function open() if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Admin")) then triggerClientEvent(source,"openVIP",source) end end addEvent("onOpen",true) addEventHandler("onOpen",getRootElement(),open)
-
https://wiki.multitheftauto.com/wiki/SetCameraMatrix
-
https://forum.multitheftauto.com/viewtopic.php?f=119&t=45097
-
Remove local in line 15. as i was given you it was without local https://forum.multitheftauto.com/viewtopic.php?f=119&t=46763
-
Try baseteleporterz = createMarker ( -649.082031, 2118.7558, 40.0499, "cylinder", 5.0, 255, 0, 0) function teleporta5(thePlayer) local fac = getElementData(thePlayer,"Fraktion") local veh = getPedOccupiedVehicle(thePlayer) if (fac == 7) and (veh) then setElementPosition(veh, -801.494, 2255.573, 58.959 ) setElementInterior(veh, 0) else outputChatBox ("Du bist keiner von den Los Aztecas!", thePlayer, 255, 0, 0) end end addEventHandler("onMarkerHit", baseteleporterz, teleporta5) teleporteraua = createMarker(-799.587, 2264.027, 57.982, "cylinder", 5.0, 255, 0, 0) function teleporta6 (thePlayer) local fac = getElementData(thePlayer,"Fraktion") local veh = getPedOccupiedVehicle(thePlayer) if (fac == 7) and (veh) then setElementPosition(veh, -649.082031, 2118.7558, 40.0499) setElementInterior(veh, 0) else outputChatBox("Du bist keiner von den Los Aztecas!", thePlayer, 255, 0, 0) end end addEventHandler("onMarkerHit", teleporteraua, teleporta6)
-
What the hell is this? posX, posY = getElementPosition( )
-
"default": Tahoma "default-bold": Tahoma Bold "clear": Verdana "arial": Arial "sans": Microsoft Sans Serif "pricedown": Pricedown (GTA's theme text) "bankgothic": Bank Gothic Medium "diploma": Diploma Regular "beckett": Beckett Regular
-
button = guiCreateButton(50,100,200,200, "TEST", false, theWindow) -- مثال على زر setElementData(button, "tooltip-text", "الكلام الي تبيه هنا", false) -- أضافة الكلام للزر setElementData(button, "tooltip-color", "#FFFFFF", false) -- تغيير لون الخط setElementData(button, "tooltip-background", "#666666", false) -- تغيير لون الخلفية setElementData(button, "tooltip-font", "bankgothic 0.5", false) -- تغيير نوع الخط و حجم الخط
-
بدل ما تجلس تنسخ بأكواد الويكي و تحطها هنا وتقول صح أو لا جربها بنفسك و شوفها تشتغل أو لا و إذا ما تشتغل تعال و حط كودك و قل وش المشكلة و أيش أنت تبي تسوي بالضبط و الي مو داري وش الطبخه لا يرد الموضوع وصل 5 صفحات
-
Try local poisonTeam = getTeamFromName("Poison") local ninjaTeam = getTeamFromName("Ninja") function Winning () local poisonPlayers = #getAlivePlayersInTeam(poisonTeam) or 0 local ninjaPlayers = #getAlivePlayersInTeam(ninjaTeam) or 0 if (ninjaPlayers == 0) then outputChatBox("Poison Team won the round!", root, 255, 25, 0) elseif (poisonPlayers == 0) then outputChatBox("Ninja Team won the round!", root, 255, 25, 0) elseif (poisonPlayers == 0 and ninjaPlayers == 0) then outputChatBox("#00ff00[#ffffffThe round was a tie!#00ff00]", root, 255, 255, 255, true) end end addEventHandler("onPlayerWasted", root, Winning) function getAlivePlayersInTeam(theTeam) local theTable = { } local players = getPlayersInTeam(theTeam) for i,v in pairs(players) do if not isPedDead(v) then theTable[#theTable+1]=v end end return theTable end
-
Nothing is wrong. I tested it and it's work. * Connected! [MTA:SA Server 1.3 [Windows]] Server FPS limit: 50 Server AC info: [Allowed client files: None] [Disabled AC: None] [Enabled SD: 12] Welcome to Freeroam Press F1 to show/hide controls test1 Test: 20 Maybe you did something wrong in the meta.xml
-
Use the optional argument (parent) parent: This is the parent that the GUI combobox is attached to. If the relative argument is true, sizes and positioning will be made relative to this parent. If the relative argument is false, positioning will be the number of offset pixels from the parent's origin. If no parent is passed, the parent will become the screen - causing positioning and sizing according to screen positioning. cmbTeam = guiCreateComboBox(left, top, windowWidth,windowHeight, "Team", true, wdwMenu)
-
https://wiki.multitheftauto.com/wiki/Server_Manual
-
أنت بالأول وضح وش الي تبي تسويه بالضبط تراك ناسخ أمثلة الويكي وحاطها بالموضوع
-
قصدك نسخت مثال الويكي و الظاهر أنك نسيت تقرأ This is an example of how one could implement a spectator function. Using the left and right arrow keys you can view other players. Note that this code isn't complete as it doesn't take into account joining or quitting players.
-
هههههههههههههه ياخي تستهبل؟ يعطونك الكود جاهز تروح تغير فيه و تقول كذا؟ ههههههههههههههههههههه
-
المشكلة هي Yes أول ما يدخل اللاعب السيرفر ينحط له المنت داتا وبيعطيك سيارة Yes و أول ما تخش الماركر بيتأكد أن عندك الألمنت داتا No وبيغير لك الألمنت داتا إلى No بالمره الثاني الي تخش فيها الماركر ما بيعطيك سيارة لان الألمنت داتا عندك كودك ناقص مدري من وين ماخذه أنت
-
The index shouldn't be 0 you should start from 1 for i = 0, maxSlots - 1 do
-
Don't tell me that you have put only this in the lua file? exports.global:giveMoney(client, math.random(500,600))
-
https://wiki.multitheftauto.com/wiki/engineLoadTXD https://wiki.multitheftauto.com/wiki/engineImportTXD https://wiki.multitheftauto.com/wiki/EngineLoadDFF https://wiki.multitheftauto.com/wiki/engineReplaceModel
