Jump to content

تعديل كود الجلوس


AL-SAYED

Recommended Posts

chair = createObject ( 1810, 1470.5999755859, -2231.399023438 , 12.39999961853, 0, 0, 0 ) 
chair2 = createObject ( 1810, 1471.5999755859, -2231.3999023438 , 12.39999961853, 0, 0, 0 ) 
chair3 = createObject ( 1810, 1472.5, -2231.3999023438 , 12.39999961853, 0, 0, 0 ) 
chair4 = createObject ( 1810, 1473.5, -2231.3999023438 , 12.39999961853, 0, 0, 0 ) 
chair5 = createObject ( 1810, 1474.4000244141, -2231.3999023438 , 12.39999961853, 0, 0, 0 ) 
chair6 = createObject ( 1810, 1475.4000244141, -2231.3999023438, 12.39999961853, 0, 0, 0 ) 
chair7 = createObject ( 1810, 1476.3000488281, -2231.5 , 12.39999961853, 0, 0, 0 ) 
chair8 = createObject ( 1810, 1477.3000488281, -2231.6000976563 , 12.39999961853, 0, 0, 0 ) 
chair9 = createObject ( 1810, 1478.4000244141, -2231.6999511719 , 12.39999961853, 0, 0, 0 ) 
chair10 = createObject ( 1810, 1479.5,-2231.8999023438 , 12.39999961853, 0, 0, 0 ) 
chair11 = createObject ( 1810, 1481.4000244141, -2226.6000976563 , 12.5, 0, 0, 0 ) 
chair12 = createObject ( 1810, 1479, -2226.5 , 12.39999961853, 0, 0, 0 ) 
chair13 = createObject ( 1810, 1477.8000488281, -2226.6000976563 , 12.39999961853, 0, 0, 0 ) 
chair14 = createObject ( 1810, 1476.5, -2226.6000976563 , 12.39999961853, 0, 0, 0 ) 
chair15 = createObject ( 1810, 1475.3000488281, -2226.5 , 12.39999961853, 0, 0, 0 ) 
chair16 = createObject ( 1810, 1474.1999511719, -2226.6000976563 , 12.39999961853, 0, 0, 0 ) 
chair17 = createObject ( 1810, 1473.0999755859, -2226.6000976563 , 12.39999961853, 0, 0, 0 ) 
chair18 = createObject ( 1810, 1471.8000488281, -2226.6000976563 , 12.39999961853, 0, 0, 0 ) 
chair19 = createObject ( 1810, 1470.5, -2226.6999511719 , 12.39999961853, 0, 0, 0 ) 
chair20 = createObject ( 1810, 1468.4000244141, -2226.6000976563 , 12.5, 0, 0, 0 ) 
myMarker1 = createMarker( 1470.3011474609, -2231.8264160156, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker2 = createMarker( 1471.3890380859, -2231.828125, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker3 = createMarker( 1472.3204345703, -2231.8276367188, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker4 = createMarker( 1473.3043212891, -2231.830078125, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker5 = createMarker( 1474.1752929688, -2231.8298339844, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker6 = createMarker( 1475.1613769531, -2231.8352050781, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker7 = createMarker( 1476.0910644531, -2231.9301757813, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker8 = createMarker( 1477.0758056641, -2232.02734375, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker9 = createMarker( 1478.1672363281, -2232.1279296875, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker10 = createMarker( 1479.2507324219, -2232.3273925781, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker11 = createMarker( 1481.1857910156, -2227.029296875, 13.546875, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker12 = createMarker( 1478.7371826172, -2226.9313964844, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker13 = createMarker( 1477.6068115234, -2227.0275878906, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker14 = createMarker( 1476.2824707031, -2227.0280761719, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker15 = createMarker( 1473.9964599609, -2227.0334472656, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker16 = createMarker( 1471.5113525391, -2227.0358886719, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
  
function MarkerHit1( player, matchingDimension ) 
        setPedAnimation( player, "ped", "SEAT_idle", -1, true, false, true ) 
        outputChatBox( "للوقوف اكتب في الكونسل | /unsit", player, 255, 0, 0 ) 
        setPedRotation ( player, 180 ) 
end 
addEventHandler( "onMarkerHit", myMarker1, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker2, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker3, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker4, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker5, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker6, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker7, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker8, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker9, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker10, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker11, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker12, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker13, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker14, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker15, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker16, MarkerHit1 ) 

لكن ما يوقف

Link to comment

chair = createObject ( 1810, 1470.5999755859, -2231.399023438 , 12.39999961853, 0, 0, 0 ) 
chair2 = createObject ( 1810, 1471.5999755859, -2231.3999023438 , 12.39999961853, 0, 0, 0 ) 
chair3 = createObject ( 1810, 1472.5, -2231.3999023438 , 12.39999961853, 0, 0, 0 ) 
chair4 = createObject ( 1810, 1473.5, -2231.3999023438 , 12.39999961853, 0, 0, 0 ) 
chair5 = createObject ( 1810, 1474.4000244141, -2231.3999023438 , 12.39999961853, 0, 0, 0 ) 
chair6 = createObject ( 1810, 1475.4000244141, -2231.3999023438, 12.39999961853, 0, 0, 0 ) 
chair7 = createObject ( 1810, 1476.3000488281, -2231.5 , 12.39999961853, 0, 0, 0 ) 
chair8 = createObject ( 1810, 1477.3000488281, -2231.6000976563 , 12.39999961853, 0, 0, 0 ) 
chair9 = createObject ( 1810, 1478.4000244141, -2231.6999511719 , 12.39999961853, 0, 0, 0 ) 
chair10 = createObject ( 1810, 1479.5,-2231.8999023438 , 12.39999961853, 0, 0, 0 ) 
chair11 = createObject ( 1810, 1481.4000244141, -2226.6000976563 , 12.5, 0, 0, 0 ) 
chair12 = createObject ( 1810, 1479, -2226.5 , 12.39999961853, 0, 0, 0 ) 
chair13 = createObject ( 1810, 1477.8000488281, -2226.6000976563 , 12.39999961853, 0, 0, 0 ) 
chair14 = createObject ( 1810, 1476.5, -2226.6000976563 , 12.39999961853, 0, 0, 0 ) 
chair15 = createObject ( 1810, 1475.3000488281, -2226.5 , 12.39999961853, 0, 0, 0 ) 
chair16 = createObject ( 1810, 1474.1999511719, -2226.6000976563 , 12.39999961853, 0, 0, 0 ) 
chair17 = createObject ( 1810, 1473.0999755859, -2226.6000976563 , 12.39999961853, 0, 0, 0 ) 
chair18 = createObject ( 1810, 1471.8000488281, -2226.6000976563 , 12.39999961853, 0, 0, 0 ) 
chair19 = createObject ( 1810, 1470.5, -2226.6999511719 , 12.39999961853, 0, 0, 0 ) 
chair20 = createObject ( 1810, 1468.4000244141, -2226.6000976563 , 12.5, 0, 0, 0 ) 
myMarker1 = createMarker( 1470.3011474609, -2231.8264160156, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker2 = createMarker( 1471.3890380859, -2231.828125, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker3 = createMarker( 1472.3204345703, -2231.8276367188, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker4 = createMarker( 1473.3043212891, -2231.830078125, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker5 = createMarker( 1474.1752929688, -2231.8298339844, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker6 = createMarker( 1475.1613769531, -2231.8352050781, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker7 = createMarker( 1476.0910644531, -2231.9301757813, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker8 = createMarker( 1477.0758056641, -2232.02734375, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker9 = createMarker( 1478.1672363281, -2232.1279296875, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker10 = createMarker( 1479.2507324219, -2232.3273925781, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker11 = createMarker( 1481.1857910156, -2227.029296875, 13.546875, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker12 = createMarker( 1478.7371826172, -2226.9313964844, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker13 = createMarker( 1477.6068115234, -2227.0275878906, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker14 = createMarker( 1476.2824707031, -2227.0280761719, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker15 = createMarker( 1473.9964599609, -2227.0334472656, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
myMarker16 = createMarker( 1471.5113525391, -2227.0358886719, 13.3828125, 'cylinder', 0.5, 255, 0, 0, 150 ) 
  
function MarkerHit1( player, matchingDimension ) 
        setPedAnimation( player, "ped", "SEAT_idle", -1, true, false, true ) 
        outputChatBox( "للوقوف اكتب في الكونسل | /unsit", player, 255, 0, 0 ) 
        setPedRotation ( player, 180 ) 
end 
addEventHandler( "onMarkerHit", myMarker1, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker2, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker3, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker4, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker5, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker6, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker7, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker8, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker9, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker10, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker11, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker12, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker13, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker14, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker15, MarkerHit1 ) 
addEventHandler( "onMarkerHit", myMarker16, MarkerHit1 ) 

غير الوضعية من الكود وهذا موقع الوضعيات شيء غريب تسوي كود ومآتعرف لة : /

setPedAnimation( player, "ped", "SEAT_idle", -1, true, false, true )

SEAT_idle 

https://wiki.multitheftauto.com/wiki/Animations

ابحث عن الوضعية الصحيح وبدلها

+

اعتقد انها =

setPedAnimation( player, "ped", "SEAT_up", -1, true, false, true ) 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...