Sfa7 Posted February 7, 2013 Share Posted February 7, 2013 (edited) تمت الافاده Edited February 8, 2013 by Guest Link to comment
hassan.k.s.a Posted February 7, 2013 Share Posted February 7, 2013 outputChatBox--رساله بالشات getPlayerTeam--أتأكد اذا هو في تيم getTeamFromName--اسم التيم if not isPedInVehicle(player) then -- اذا كان مو بالسياره Link to comment
|Mr|-Talal07-| Posted February 7, 2013 Share Posted February 7, 2013 جرب ذاا A = createMarker( 200.80000305176, 1869.5, 14, 'arrow', 1.7, 255, 0, 0, 150 ) B = createMarker( 422.1938, 2536.67236, 11, 'arrow', 1.5, 0, 255, 255, 150 ) setElementDimension ( B, 200 ) setElementInterior ( B, 10 ) addEventHandler("onMarkerHit",root, function (player) if getElementType(player) == "player" and not isPedInVehicle(player) then if ( source == A ) then if getPlayerTeam(player) == getTeamFromName("ARMY") then setElementPosition ( player, 422.2352294, 2536.51660156, 10 ) setElementInterior ( player, 10 ) setElementDimension ( player, 200 ) else outputChatBox("* You Are Not in Team ARMY",player) end elseif ( source == B ) then setElementPosition ( player, 203.03282, 1869.55237, 13.14063 ) setElementInterior ( player , 0 ) setElementDimension ( player , 0 ) end end end ) Link to comment
===|OSAMA|=== Posted February 7, 2013 Share Posted February 7, 2013 جرب ذاا A = createMarker( 200.80000305176, 1869.5, 14, 'arrow', 1.7, 255, 0, 0, 150 ) B = createMarker( 422.1938, 2536.67236, 11, 'arrow', 1.5, 0, 255, 255, 150 ) setElementDimension ( B, 200 ) setElementInterior ( B, 10 ) addEventHandler("onMarkerHit",root, function (player) if getElementType(player) == "player" and not isPedInVehicle(player) then if ( source == A ) then if getPlayerTeam(player) == getTeamFromName("ARMY") then setElementPosition ( player, 422.2352294, 2536.51660156, 10 ) setElementInterior ( player, 10 ) setElementDimension ( player, 200 ) else outputChatBox("* You Are Not in Team ARMY",player) end elseif ( source == B ) then setElementPosition ( player, 203.03282, 1869.55237, 13.14063 ) setElementInterior ( player , 0 ) setElementDimension ( player , 0 ) end end end ) ^ انت كذا مآ تحققت إذا كان اللاعب بتيم أو لا وبكذآ ممكن يصير خطأ , ويدخل اللاعب من دون ما يكون بالتيم المخصص + لما يدخل للبيت مَ رح يجيه كلام بالششآت يصصير كذآ , -- Client Side ! A = createMarker( 200.80000305176, 1869.5, 14, 'arrow', 1.7, 255, 0, 0, 150 ) B = createMarker( 422.1938, 2536.67236, 11, 'arrow', 1.5, 0, 255, 255, 150 ) setElementDimension ( B, 200 ) setElementInterior ( B, 10 ) addEventHandler("onMarkerHit",root, function (player) if getElementType ( player ) == "player" and not isPedInVehicle ( player ) then if ( source == A ) then if getPlayerTeam ( player ) and getPlayerTeam ( player ) == getTeamFromName ( "NameTeam" ) then setElementPosition ( player, 422.2352294, 2536.51660156, 10 ) setElementInterior ( player, 10 ) setElementDimension ( player, 200 ) outputChatBox ( "لقد دخلت الي البيت", player, 255, 255, 0, true ) else outputChatBox ( "* You Are Not in 'NameTeam' Team !", player, 210, 0, 0, true ) end elseif ( source == B ) then setElementPosition ( player, 203.03282, 1869.55237, 13.14063 ) setElementInterior ( player , 0 ) setElementDimension ( player , 0 ) end end end ) الإسبتدآل , سطر 10 , NameTeam = إسم التيم الي تبيه يدخل البيت فقط # سطر 16 , NameTeam = إسم التيم الي تبيه يدخل البيت فقط # Link to comment
Sfa7 Posted February 7, 2013 Author Share Posted February 7, 2013 جرب ذاا A = createMarker( 200.80000305176, 1869.5, 14, 'arrow', 1.7, 255, 0, 0, 150 ) B = createMarker( 422.1938, 2536.67236, 11, 'arrow', 1.5, 0, 255, 255, 150 ) setElementDimension ( B, 200 ) setElementInterior ( B, 10 ) addEventHandler("onMarkerHit",root, function (player) if getElementType(player) == "player" and not isPedInVehicle(player) then if ( source == A ) then if getPlayerTeam(player) == getTeamFromName("ARMY") then setElementPosition ( player, 422.2352294, 2536.51660156, 10 ) setElementInterior ( player, 10 ) setElementDimension ( player, 200 ) else outputChatBox("* You Are Not in Team ARMY",player) end elseif ( source == B ) then setElementPosition ( player, 203.03282, 1869.55237, 13.14063 ) setElementInterior ( player , 0 ) setElementDimension ( player , 0 ) end end end ) ^ انت كذا مآ تحققت إذا كان اللاعب بتيم أو لا وبكذآ ممكن يصير خطأ , ويدخل اللاعب من دون ما يكون بالتيم المخصص + لما يدخل للبيت مَ رح يجيه كلام بالششآت يصصير كذآ , -- Client Side ! A = createMarker( 200.80000305176, 1869.5, 14, 'arrow', 1.7, 255, 0, 0, 150 ) B = createMarker( 422.1938, 2536.67236, 11, 'arrow', 1.5, 0, 255, 255, 150 ) setElementDimension ( B, 200 ) setElementInterior ( B, 10 ) addEventHandler("onMarkerHit",root, function (player) if getElementType ( player ) == "player" and not isPedInVehicle ( player ) then if ( source == A ) then if getPlayerTeam ( player ) and getPlayerTeam ( player ) == getTeamFromName ( "NameTeam" ) then setElementPosition ( player, 422.2352294, 2536.51660156, 10 ) setElementInterior ( player, 10 ) setElementDimension ( player, 200 ) outputChatBox ( "لقد دخلت الي البيت", player, 255, 255, 0, true ) else outputChatBox ( "* You Are Not in 'NameTeam' Team !", player, 210, 0, 0, true ) end elseif ( source == B ) then setElementPosition ( player, 203.03282, 1869.55237, 13.14063 ) setElementInterior ( player , 0 ) setElementDimension ( player , 0 ) end end end ) الإسبتدآل , سطر 10 , NameTeam = إسم التيم الي تبيه يدخل البيت فقط # سطر 16 , NameTeam = إسم التيم الي تبيه يدخل البيت فقط # كفوووو ابداااع ي اسامه ويعطيك الف عافيه + اخوي طلال هه انت عكست المساله اذا انا من تيم ارمي يقولي انت مو من التيم واذا طلعت من التيم يدخلني لوول ماعليه ضبطه اخوي اسامه + مشكورررين للكل Link to comment
===|OSAMA|=== Posted February 7, 2013 Share Posted February 7, 2013 العفو حبيبي , الله يعآفيكـ ; ) Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now