jakson Posted June 2, 2019 Author Posted June 2, 2019 32 minutes ago, Abdul KariM said: local hydra = { } addEventHandler ( "onVehicleStartEnter" , root , function ( ) if getTeamName( getPlayerTeam ( source ) == "SWAT" then if getElementModel ( source ) == 520 then if isElement ( hydra [ source ] ) ) then destroyElement ( hydra [ source ] ) end hydra [ source ] = createBlipAttachedTo ( source , 9 , 0,2,255,0,0,255,0,16383.0,getTeamFromName("SWAT")) end end end ) ; addEventHandler ( "onVehicleStartExit" , root , function ( ) if ( getElementModel ( source ) == 520 and isElement ( hydra [ source ] ) ) then destroyElement ( hydra [ source ] ) hydra [ source ] = nil end end ) فيها نفس المشكله 14 minutes ago, salh said: جاكسون انت تبيه اول ما يركب الهايدرا تختفي ولا بس يسوي علامة؟ اول لما الاعيب يدخل الهيدرا من تيم سوات مثلا يسوي علامه في الردار الي تحت علي الشمال و لما ينزل من الهيدرا العلامه تختفي
jakson Posted June 2, 2019 Author Posted June 2, 2019 (edited) 1 minute ago, salh said: يعني ما تبيها تختفي؟ العلامه مو الهيدرا .. و تقريبا الفنكشن الي يخلي العلامه تختفي موجود و شغال تمام المشكله بس الحين في ان نخلي العلامه تظهر لتيم معين مو لكل الاعبين الي يركبو هيدرا Edited June 2, 2019 by jakson
Abdul KariM Posted June 2, 2019 Posted June 2, 2019 local hydra = { } addEventHandler ( "onVehicleStartEnter" , root , function ( ) if getTeamName ( getPlayerTeam ( source ) ) == "SWAT" then if getElementModel ( source ) == 520 then if isElement ( hydra [ source ] ) then destroyElement ( hydra [ source ] ) end hydra [ source ] = createBlipAttachedTo ( source , 9 , 0,2,255,0,0,255,0,16383.0,getTeamFromName("SWAT")) end end end ) addEventHandler ( "onVehicleStartExit" , root , function ( ) if ( getElementModel ( source ) == 520 and isElement ( hydra [ source ] ) ) then destroyElement ( hydra [ source ] ) hydra [ source ] = nil end end )
jakson Posted June 2, 2019 Author Posted June 2, 2019 29 minutes ago, Abdul KariM said: local hydra = { } addEventHandler ( "onVehicleStartEnter" , root , function ( ) if getTeamName ( getPlayerTeam ( source ) ) == "SWAT" then if getElementModel ( source ) == 520 then if isElement ( hydra [ source ] ) then destroyElement ( hydra [ source ] ) end hydra [ source ] = createBlipAttachedTo ( source , 9 , 0,2,255,0,0,255,0,16383.0,getTeamFromName("SWAT")) end end end ) addEventHandler ( "onVehicleStartExit" , root , function ( ) if ( getElementModel ( source ) == 520 and isElement ( hydra [ source ] ) ) then destroyElement ( hydra [ source ] ) hydra [ source ] = nil end end ) بيه خطء ... خلاص اخي لا داعي لتعبك معي مشكور...
Abdul KariM Posted June 2, 2019 Posted June 2, 2019 (edited) الدي بوق ايش يقول لان كان فيه قوس زايد وحذفته local hydra = { } addEventHandler ( "onVehicleStartEnter" , root , function ( ) if not getTeamFromName( "SWAT" ) then return end if getElementModel ( source ) == 520 then if isElement ( hydra [ source ] ) then destroyElement ( hydra [ source ] ) end hydra [ source ] = createBlipAttachedTo ( source , 9 , 0,2,255,0,0,255,0,16383.0,getTeamFromName("SWAT")) end end ) addEventHandler ( "onVehicleStartExit" , root , function ( ) if ( getElementModel ( source ) == 520 and isElement ( hydra [ source ] ) ) then destroyElement ( hydra [ source ] ) hydra [ source ] = nil end end ) هذا بيشتغل ان شاء الله Edited June 2, 2019 by Abdul KariM 1
jakson Posted June 2, 2019 Author Posted June 2, 2019 41 minutes ago, Abdul KariM said: الدي بوق ايش يقول لان كان فيه قوس زايد وحذفته local hydra = { } addEventHandler ( "onVehicleStartEnter" , root , function ( ) if not getTeamFromName( "SWAT" ) then return end if getElementModel ( source ) == 520 then if isElement ( hydra [ source ] ) then destroyElement ( hydra [ source ] ) end hydra [ source ] = createBlipAttachedTo ( source , 9 , 0,2,255,0,0,255,0,16383.0,getTeamFromName("SWAT")) end end ) addEventHandler ( "onVehicleStartExit" , root , function ( ) if ( getElementModel ( source ) == 520 and isElement ( hydra [ source ] ) ) then destroyElement ( hydra [ source ] ) hydra [ source ] = nil end end ) هذا بيشتغل ان شاء الله مشكور اخي <3
Guest Posted June 2, 2019 Posted June 2, 2019 (edited) لاا شيء ... Edited June 2, 2019 by Guest =\ كيف حالك ؟
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