-
Posts
570 -
Joined
-
Last visited
-
Days Won
4
Everything posted by #\_oskar_/#
-
-- server addCommandHandler ( "vehicleid", function ( thePlayer, commandName ) if exports.pool:getElement("vehicle", tonumber(id)) == 190 then triggerClientEvent (root, "mod",thePlayer,id) end end) -- client addEvent("mod", true) addEventHandler("mod", root, function mod (id) engineImportTXD ( engineLoadTXD ( "596.txd" ),596) engineReplaceModel ( engineLoadDFF ( "596.dff" ),596) end) جرب كدا انا صلحتلك الكود وانت شوف كيف بتسوي الايدي
-
مافي سياره ايدي حقها 190
-
كيف الكود تبي يشتغل ؟ ليه حاطتها ؟ وهنا كيف الترايقر تبيه يشتغل ؟ والسياره مو متعرفه + اللاعب مو متعرف + اسم الترايقر يختلف بالاستقبال حقه بالكلنت وهنا وين الايدي حق السياره ؟ ممكن تفهمني ليه حاطت رقم 190 هنا ؟
-
getElementModel engineLoadTXD + engineLoadDFF
-
شغال TopBarChat اتأكد ان مود اخراج نص جهة سيرفر exports.TopBarChat:sendClientMessage("Hello World!", source,255, 0, 100, false, 7) اخراج نص جهة كلنت exports.TopBarChat:sendClientMessage("Hello World!", 255, 0, 100 false, 7)
-
بيختلف من كلنت لسيرفر يعني ممكن الكوماند بجهة سيرفر بجهة كلنت executeCommandHandler وانت حاطت
-
حمل Download shader_tex_names.zip وشغله بالسيرفر وبعدين دوس رقم 8 عشان تظهره وعشان تشوف اسم الشيدر حق السياره اللي انت راكبها دوس رقم 7 و 9 k وعشان تنسخ اسم الشيدر من زر
-
create a new file and add it in meta.xml <script src="colorful.Lua" type="client" /> -- here is your codes file colorful <script src="gui.Lua" type="client" /> -- here file your gui
-
[Question] Best way to create tables and loop through.
#\_oskar_/# replied to Ice_Cool's topic in Scripting
Error 1 It has to be like this createColShapes = createColRectangle (col.colX, col.colY, col.colWidth, col.colHeight) Error 2 You forgot to add the loop and Object name -
fix = { {1606.1678466797, -1712.462890625, 13.593994140625+1 }, {1609.2961425781, -1712.462890625, 13.593994140625+1} } local x, y, z = unpack(fix[math.random(1,#fix)]) JailEscapeMarker1 = createMarker( x, y, z, "arrow", 1.5, 255, 255, 0, 150)
-
Event Client side onClientPickupHit Event Server side onPickupHit
-
local Painelstt = false -- You forgot to add this local Botao = "F7" function OpenPainel() if Painelstt == false then addEventHandler("onClientRender", getRootElement(), PainelDc) Painelstt = true showCursor(true) else removeEventHandler("onClientRender", getRootElement(), PainelDc) Painelstt = false showCursor(false) end end bindKey(Botao, "down", OpenPainel)
-
bindKey ("tab","both",function (_, state) if state == "down" then guiSetVisible(window,true) else guiSetVisible(window,false ) end end)
-
0 عدد لانهائي 1 التايمر يشتعل مره واحده ويوقف
-
I think that you mean this https://community.multitheftauto.com/index.php?p=resources&s=details&id=11836
-
مود جميل زي اللي ناشره بالتوفيق
-
Remove local
-
dxDrawRectangle(x*761, y*322, x*399, y*436,tocolor(254, 0, 0, 123), false)
-
؟؟ انت شكلك مافهمت CARSVIP1 = {} CARSVIP1[source] = createVehicle(411,-2409.53516, -600.94574, 132.64844, 0, 0, 180) ------- addCommandHandler ( "lock", function (thePlayer) if thePlayer and isElement(CARSVIP1[thePlayer]) then local vehicleX, vehicleY, vehicleZ = getElementPosition ( CARSVIP1[thePlayer] ) local playerX, playerY, playerZ = getElementPosition ( thePlayer ) if isElement(CARSVIP1[thePlayer]) then if isVehicleLocked ( CARSVIP1[thePlayer] ) then setVehicleLocked ( CARSVIP1[thePlayer], false ) exports["guimessages"]:outputServer(thePlayer, "#FF0000*#FFFF00[VIP System] #00FF00Your vehicle is unlock.", 255, 0, 0, true) setElementData(CARSVIP1[thePlayer], "vehicleLocked", false) else setVehicleLocked ( CARSVIP1[thePlayer], true ) exports["guimessages"]:outputServer(thePlayer, "#FF0000*#FFFF00[VIP System] #FF0000Your vehicle is locked.", 255, 0, 0, true) setElementData(CARSVIP1[thePlayer], "vehicleLocked", true) end end end end ) CARSVIP1[هنا تحط اللاعب ع حسب مانت معرفه]
-
العفو ف الخدمه ب اي وقت
-
يب CARSVIP1[player] -- متغيره player هنا كلمة يعني كيف متغيره ؟ مثلا عندك وظيفه function (thePlayer) thePlayer داخل القوسين انت هنا معرف اللاعب ب اسم thePlayer الي player فتقوم مغير كلمة CARSVIP1[thePlayer] يصير الاسم كدا
-
New WnashTime || حصصريات وناسة تايم
#\_oskar_/# replied to ععيونككء اخخر امممأليء ^'s topic in Arabic / العربية
شغل متعوب عليه ف السيرفر اهنيكم صراحه وبالتوفيق لكم ومن نجاح الي نجاح ان شاء الله عندي اقتراح بسيط وهو بدل مالاعب ينسخ رابط شرح المهمه ويروح يوتيوب ويشغله عشان يشوف الشرح اقترح تسوو فيديو يوتيوب مكان رابط الشرح وكل عام وانتم بخير -
addEventHandler("onClientResourceStart", resourceRoot, function() local myShader = dxCreateShader([[texture tex;technique os {pass P0 {Texture[0] = tex;}}]]) dxSetShaderValue(myShader, "tex",dxCreateTexture('Photo.png')) engineApplyShaderToWorldTexture(myShader,'keycard') end) try