-
Posts
569 -
Joined
-
Last visited
Everything posted by ☠ RaZeR ☠
-
جربيتها طلع مربع صغير وجابني انا مب الماتركس !! \ يعني حطني انا في dxDrawImage انا ابي يحط الماتركس في المربع
-
سوى الماتركس بس ماحطها في مربع صغير !!
-
Server !~ function matrix1() setCameraMatrix(source, 1468.8785400391, -919.25317382813, 100.153465271) end addEvent( "matrix", true ) addEventHandler( "matrix", resourceRoot, matrix1 ) Client addEventHandler("onClientResourceStart", resourceRoot, function() myScreenSource = dxCreateScreenSource ( 640, 480 ) end ) addEventHandler( "onClientRender", root, function() if myScreenSource then dxUpdateScreenSource( myScreenSource ) triggerServerEvent ( "matrix", source ) end end )
-
معك حق Required Arguments positionX: The x coordinate of the camera's position. positionY: The y coordinate of the camera's position. positionZ: The z coordinate of the camera's position. Instead of six coordinates, or two vectors, a Matrix can be supplied. طيب ينفع بالتريقر
-
ليه مااشتغل ووطلع شاشه صغيره للمكان ذا addEventHandler("onClientResourceStart", resourceRoot, function() myScreenSource = dxCreateScreenSource ( 500, 480 ) end ) addEventHandler( "onClientRender", root, function() if myScreenSource then dxUpdateScreenSource( myScreenSource ) setCameraMatrix(source, 1468.8785400391, -919.25317382813, 100.153465271) end end)
-
السلام عليكم شباب ابي فنكشات تخلي set matrix صغيره set matrix يعني مربع صغير على الجنب فيه ال اراقب مكان معبن !
-
local account = getAccount(usr) شلت psw
-
خلاص صلحته ! مشكورين
-
يقولي في الديبوق ERROR: Client (#ff0000|w.T|#00FF00FoX) triggered serverside event "reg", but event is not added serverside
-
شباب في مشكلة في لوحة تسجيل : المشكلة لما اسجل بحساب موجود مايقولي الحساب مستخدم addEvent("reg",true) addEventHandler("reg",getRootElement(), function (usr,psw) local account = getAccount(usr,psw) if ( account ) then outputChatBox("# This Account is Already Used",source,255,0,0) triggerClientEvent(source,"Erorr",source) else addAccount(usr,psw) outputChatBox("User: " .. usr .. " Pass : " .. psw,source,0,150,255) triggerClientEvent(source,"suc",source) end end end )
-
هلا ,, شباب ابي يقتل 10 بسلاح معين مثل القناصه بعدين يسوي مخرج شات id Sniper : 34 addEventHandler ("onPlayerWasted", root, function (_, klr) if klr and getElementType (klr) == "player" then setElementData (klr, "kills", (getElementData (klr, "kills") or 0) + 1) if getElementData ( klr, "kills" ) == 10 then outputChatBox ( "you killled 10 |By Sniper ", klr, 255, 0, 0, true ) end end end )
-
سويته لاكن لما اسوي كيل تايمر ولما اجمع الفلوس المطلوبه مايسوي تحقق اعتقد بتستخدم بعد مخرج الشات outputChatBox( "sorry", value, 255, 255, 0 ) resetTimer(tim) tim = setTimer( function() for index, value in ipairs( getElementsByType("player") ) do if getPlayerMoney( value ) >= 1000000 ) then outputChatBox( "thanks!!", value, 255, 255, 0 ); triggerClientEvent ( value, "dd" , value ); killTimer ( tim ) else outputChatBox( "sorry", value, 255, 255, 0 ); end end end, 3000, 0 ); يعني الكود بيصير كذا tim = setTimer( function() for index, value in ipairs( getElementsByType("player") ) do if getPlayerMoney( value ) >= 1000000 ) then outputChatBox( "thanks!!", value, 255, 255, 0 ); triggerClientEvent ( value, "dd" , value ); killTimer ( tim ) else outputChatBox( "sorry", value, 255, 255, 0 ); resetTimer(tim) end end end, 3000, 0 ); أسف إذا جاوبت لنفسي
-
مشكور لاكن ابيه اذا تحقق الشرط يوقف التايمر اعتقد بتسخدم killtimer واذا ماتحقق يكمل التايمر الى ما لانهايه
-
السلام عليكم !! ليه مااشتغل function fox( ) local money = getPlayerMoney(source) if ( money > 1000000 ) then outputChatBox( "thanks!!", source, 255, 255, 0 ) triggerClientEvent ( source, "dd" , source ) else outputChatBox( "sorry", source, 255, 255, 0 ) end end setTimer ( fox, 3000, 0 ) صورة في الديبوق سطر 3
-
اهااا مشكوور اخوي ردي السابق كتبته ولم ارى هذه : واسف على اللغة الرسمية
-
مشكوور اخوي وش كان الخطأ ؟
-
السلام عليكم شباب لماذا لم يعمل هذا ؟؟ انا جربته ومااشتغل addEventHandler ("onPlayerWasted", root, function (_, klr) if (klr and getElementType (klr) == "player") then setElementData (klr, "kills", (getElementData (klr, "kills") or 0) + 1) if ( getElementData ( klr1, "kills" ) == 10 ) then outputChatBox ( "you killled 10 |", klr1, 255, 0, 0, true ) end end end ) ا
-
#destroyElement المطلوب ابي السيارة اللي كنت راكبها ترجع لمكانها الاول مب تختفي لم يعمل اخوي
-
أشتغل : بس في مشكلة ! انا مسوي : انه لو لمس الماركر يمسح السيارة وينزل نفس السيارة الى المكان الاول addEventHandler("onMarkerHit",marker, function (player) if (getElementType (player) == "player") and isPedInVehicle(player) then destroyElement(car) car = createVehicle ( 589, 1887.61646, 1743.74475, 10.75639 ) end end ) المشكلة لما ارجع للمكان الاول مايقولي You already entered this vehicle before. #destroyElement المطلوب ابي السيارة اللي كنت راكبها ترجع لمكانها الاول مب تختفي
-
الديبوق مشكلة unexpected sympol near ' سطر 2 addEventHandler ("onVehicleEnter", car, function (plr) if getElementData (plr, "Entered") == true then outputChatBox ("You already entered this vehicle before.", plr, 255, 0, 0) removePedFromVehicle (plr, source) else setElementData (plr, "Entered", true) end end )
