Teams = {'Team1' , 'Team2', 'Team3'}for _ , v in ipairs ( Teams ) do setTeamFriendlyFire ( createTeam ( v , 255 , 255 , 255 ) , false ) end
addEventHandler ( "onMarkerHit" , root , function ( element )if ( source == EnterMarker1 and getElementType ( element ) == "player" and getTeamFromName ( "Team1" ) ) then setPlayerTeam ( element , getTeamFromName ( "Team1" ) );setPedArmor ( element , 100 );setElementModel ( element , 176 );giveWeapon ( element , 34 , 9999 );outputChatBox("* تم دخول التيم ",element,0,255,0,true);endend );