Deep thinker Posted June 18, 2017 Author Share Posted June 18, 2017 2 minutes ago, ` Allawi said: صححت لك الكود فوق ^ بعرف خوي تسلم والله مشكور ثانية بجرب اللي انت قولتلي عليه 6 minutes ago, ` Allawi said: الخطأ مو معرف player في الحدث ومتحقق إنه "Military" هو إلي مايقدر يركب كدة؟ addEventHandler ( "onVehicleStartEnter", getRootElement(), --This Part should be edited. function () if ( getElementType () == "player" ) then if ( getElementType ( source ) == "vehicle" and getElementModel ( source ) == 407 ) then if ( getPlayerTeam ( player ) and getTeamName ( getPlayerTeam ( player ) ) == "Military" ) then cancelEvent() end end end end ) Link to comment
` Allawi Posted June 18, 2017 Share Posted June 18, 2017 58 minutes ago, ` Allawi said: addEventHandler ( "onVehicleStartEnter", root, function ( player ) if ( getElementType ( source ) == "vehicle" and getElementModel ( source ) == 407 ) then if ( getPlayerTeam ( player ) and getTeamName ( getPlayerTeam ( player ) ) ~= "Military" ) then cancelEvent ( ) end end end ) الخطأ مو معرف player في الحدث ومتحقق إنه "Military" هو إلي مايقدر يركب صححت لك الكود فوق ^ .. Link to comment
Deep thinker Posted June 18, 2017 Author Share Posted June 18, 2017 1 minute ago, ` Allawi said: .. ولا يهمك خوي صلحتها تسلم والللله علمتني كتير اليوم و كل عام وانت بخير Link to comment
` Allawi Posted June 18, 2017 Share Posted June 18, 2017 Just now, ProMax said: ولا يهمك خوي صلحتها تسلم والللله علمتني كتير اليوم و كل عام وانت بخير وأنت بصحة وسلامة حياك الله .. 1 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