-
Posts
559 -
Joined
-
Last visited
Everything posted by Mr.T9
-
اي سطر ؟ كيف اي سطر اكيد الاول ^ ! شكلك ماتعرف وش الحدث
-
* setPedWalkingStyle المشكلة لما تحط الوظيفة مايطلع لها رابط + مشكور على التعديل
-
الاول مافهمته الثاني استخدم setPedWalkingStyle
-
function IniciarAnimacion() if not on then on = true ahora = getTickCount() timerInto = setTimer(function() InicioInto = getTickCount() timerInto = nil end, 2000,1) timer10 = setTimer(function() ahora2 = getTickCount() addEventHandler("onClientRender", getRootElement(), AnimacionCuadros) ???? name funciton IniciarAnimacion not AnimacionCuadros !
-
لما تضغط على الزر استخدم "onClientGUIClick"
-
مثال للكاميرا setCameraMatrix(source,x,y,z,x,y,z) مثال بسيط + عليك الاحداثيات بس لما تجيب احداثيات الكاميرا من فوق فيها صعوبه شوي
-
الكاميرا استخدم setCameraMatrix تختفي الماوس showCursor
-
GUIEditor = { button = {}, window = {}, staticimage = {} } GUIEditor.window[1] = guiCreateWindow(194, 129, 398, 314, "Police Center Control !", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF2F4CFA") GUIEditor.button[1] = guiCreateButton(10, 178, 115, 37, "Police Center", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "CC2650D7") GUIEditor.button[2] = guiCreateButton(10, 235, 115, 37, "Parking Cars Police Center", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "CC72E813") GUIEditor.button[3] = guiCreateButton(273, 235, 115, 37, "Prison Control", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "CCF0C80A") GUIEditor.button[4] = guiCreateButton(273, 178, 115, 37, "Surface Police Center", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "CC16DEE6") GUIEditor.staticimage[1] = guiCreateStaticImage(121, 20, 152, 152, "cinet.png", false, GUIEditor.window[1]) GUIEditor.button[5] = guiCreateButton(286, 283, 102, 21, "Close", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "CCF23907") guiSetVisible (GUIEditor.window[1], false) createMarker(214.72594,1906.00842,17.64063,"cylinder",2,255,0,0,255) addEventHandler ("onClientMarkerHit",root, function ( hitPlayer ) local mm = getPlayerTeam ( hitPlayer ) if getElementType ( hitPlayer ) == "player" and mm and getTeamName ( mm ) == "Police" then guiSetVisible (GUIEditor.window[1], true) showCursor (true) end end )
-
"onMarkerHit" -------- عند لمس الماركر guiSetVisible -------- قفل و فتح النافذه
-
ولكم باك يالحلو ض1 + ان شاء الله هالسنة لك فرصة ههه
-
can you put Image All the resources they sell ?
-
^^ خطا بسيط ض1 thePed = createPed ( 282, 1513.3770751953, -1677.8481445313, 14.046875 ) theMarker = createMarker ( 0, 0, 0, "cylinder", 15, 0, 0, 0, 0 ) setPedStat ( thePed, 77, 999 ) setPedWeaponSlot ( thePed, 3 ) attachElements ( theMarker, thePed, 0, 0, -1 ) setTimer ( giveWeapon, 5000, 0, thePed, 30, 99999, true ) addEventHandler ( "onMarkerHit", getResourceRootElement ( getThisResource ( ) ), function ( thePlayer ) if getElementType ( thePlayer ) == "player" then if getPlayerTeam ( thePlayer ) == getTeamFromName ( "Skulls" ) then triggerClientEvent ( thePlayer, "setPedAttacking", thePlayer, thePed ) if isPedInVehicle ( thePlayer ) then destroyElement ( getPedOccupiedVehicle ( thePlayer ) ) end end end end ) addEventHandler ( "onMarkerLeave", getResourceRootElement ( getThisResource ( ) ), function ( thePlayer ) if getElementType ( thePlayer ) == "player" then triggerClientEvent ( thePlayer, "setPedStanding", thePlayer, thePed ) setTimer ( giveWeapon, 500, 1, thePed, 30, 99999, true ) end end )
-
تاكد ان كل المسارات موجودة
-
تاكد من الميتا
-
استخدم guiCreateStaticImage "onClientGUIClick" guiSetVisible