Jump to content

Vunili

Members
  • Posts

    431
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Vunili

  1. لأنك عدلتها وغيرت الرابط :] وهذا الرابط القديم :] http://up.top4top.net/f-217wxb41-zip.html
  2. لا والله ؟ خخخ وش ذا طيب :] function onLogin ( player, user, pass ) local account = getAccount ( user, pass ) if ( account ~= false ) then if (logIn ( player, account, pass ) == true) then triggerClientEvent ( "hideLoginWindow", getRootElement()) else outputChatBox ( "Erro A Se Logar!", player, 255, 0, 0 ) end else outputChatBox ( "Zly login lub haslo!", player, 255, 0, 0 ) end end addEvent( "onLogin", true ) addEventHandler( "onLogin", getRootElement(), onLogin ) function onRegister ( player, user, pass ) local account = getAccount ( user, pass ) if ( account ~= false ) then if (logIn ( player, account, pass ) == true) then triggerClientEvent ( "hideLoginWindow", getRootElement()) else outputChatBox ( "Deu Erro Ao Se Registrar!", player, 255, 0, 0 ) end else account = addAccount ( user, pass ) if (logIn ( player, account, pass ) == true) then triggerClientEvent ( "hideLoginWindow", getRootElement()) else outputChatBox ( "Register/Login Erro!", player, 255, 0, 0 ) end end end addEvent( "onRegister", true ) addEventHandler( "onRegister", getRootElement(), onRegister )
  3. النور نورك بس وراه اللغة بولنديه :]
  4. طيب شوضع الحقوق اللي في ملف كلينت :]
  5. local Object = createObject ( ID, x, y, z, rx, ry, rz ) local Marker = createMarker ( x, y, z, "cylinder", size, 0, 0, 0, 0 ) function OpenObject ( player ) if ( isElementWithinMarker ( player, Marker ) ) then moveObject ( Object, 1500, moveX, moveY, moveZ ) else moveObject ( Object, 1500, x, y, z ) end end end end addEventHandler ( "onResourceStart", resourceRoot, function ( ) for _, v in ipairs ( getElementsByType ( "player" ) ) do bindKey ( v, "tab", "down", OpenObject ) end end ) addEventHandler ( "onPlayerJoin", root, function ( ) bindKey ( source, "tab", "down", OpenObject ) end )
  6. خاص للمواقع فقط html لغة ال
  7. يب اذا باف 8 / بدون debugscript 3 واذا بالشات /debugscript
  8. تفضل marker1 = createMarker(1543.01550,-1719.50916,12.55456,"cylinder",3,255,255,255) function spawn() GUIEditor = { button = {}, window = {} } GUIEditor.window[1] = guiCreateWindow(238, 130, 492, 333, "INRU Spawner", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.button[2] = guiCreateButton(386, 24, 96, 55, "Close", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(9, 22, 103, 50, "Sanchez", false, GUIEditor.window[1]) showCursor ( true ) end addEventHandler("onClientMarkerHit",getRootElement(),spawn) addEventHandler("onClientGUIClick",root, function ( ) if ( source == GUIEditor.button[2]) then guiSetVisible(GUIEditor.window[1],false) showCursor(false) guiSetInputEnabled(false) end end)
  9. يعطيكم العافية
  10. السلام عليكم ورحمة الله وبركاته انا مسوي كود يجيب احداثيات الاعب ابي لما احدد اسم من الجريد ليست يجيب احداثياته الكود addEventHandler("onClientGUIClick",root, function() if source == Position then local selectedRow, selectedCol = guiGridListGetSelectedItem( GridList ) local playerName = guiGridListGetItemText( GridList, selectedRow, selectedCol ) local x,y,z = getElementPosition (getLocalPlayer()) guiSetText (editPosition1, x ) guiSetText (editPosition2, y ) guiSetText (editPosition3, z ) end end)
  11. يب جربته نفس المشكلة يطلع لي بق
  12. function dxDrawTextOnElement(TheElement,text,height,distance,R,G,B,alpha,size,font,checkBuildings,checkVehicles,checkPeds,checkDummies,seeThroughStuff,ignoreSomeObjectsForCamera,ignoredElement) local x, y, z = getElementPosition(TheElement) local x2, y2, z2 = getElementPosition(localPlayer) local distance = distance or 20 local height = height or 1 local checkBuildings = checkBuildings or true local checkVehicles = checkVehicles or false local checkPeds = checkPeds or false local checkObjects = checkObjects or true local checkDummies = checkDummies or true local seeThroughStuff = seeThroughStuff or false local ignoreSomeObjectsForCamera = ignoreSomeObjectsForCamera or false local ignoredElement = ignoredElement or nil if (isLineOfSightClear(x, y, z, x2, y2, z2, checkBuildings, checkVehicles, checkPeds , checkObjects,checkDummies,seeThroughStuff,ignoreSomeObjectsForCamera,ignoredElement)) then local sx, sy = getScreenFromWorldPosition(x, y, z+height) if(sx) and (sy) then local distanceBetweenPoints = getDistanceBetweenPoints3D(x, y, z, x2, y2, z2) if(distanceBetweenPoints < distance) then dxDrawText(text, sx+2, sy+2, sx, sy, tocolor(R or 255, G or 255, B or 255, alpha or 255), (size or 1)-(distanceBetweenPoints / distance), font or "arial", "center", "center") end end end end bug 3 / 14
  13. السلام عليكم رحمة الله وبركاته سويت مود بيد وتكتب فوقه كلام بس المشكلة ان الكلام يختفي في اقل من ثانية dxDrawTextOnElement(dr,guiGetText( TAG ),1,20,0,0,255,255,1,dxCreateFont("ff.ttf", 30 ))
  14. بعد ما تحمل مود وتشغله تأكد هل فيه اخطاء او بقات /debguscript 3
  15. رد علي وقالي هذي مدري ما فهمت عليه ولله It is a bug in MTA/GTA which can be fixed by scripters changing how they handle certain events. Event list is here: https://bugs.mtasa.com/view.php?id=8765 يقول البق من نفس اللعبة والكراش يمكن من الوظائف هذي onClientPedDamage onClientPedWasted onClientPedWeaponFire onClientPedChoke onClientPedHeliKilled onClientPedHitByWaterCannon onClientPlayerDamage onClientPlayerWasted onClientPlayerWeaponFire onClientPlayerChoke onClientPlayerHeliKilled onClientPlayerHitByWaterCannon onClientObjectDamage onClientObjectBreak onClientProjectileCreation onClientVehicleCollision onClientVehicleDamage onClientExplosion
  16. رح سطر 1097 والصق هالكود if action == "mute" then outputChatBox("Reason: "..mdata:sub(2,#mdata-1)..".",root,255,255,0) end
  17. السلام عليكم ورحمة الله وبركاته cFx|~#NexT has been muted by Console. وين القا ذا الكلام يوم ينكتب في الشات ؟ دورت كل ملفات الادمن مالقيته
×
×
  • Create New...